FORT WORTH, Texas (AP) — A man shown on a video coaxing his 2- and 4-year-old nephews into smoking marijuana was sentenced Thursday to eight years in prison.

Demetris McCoy, 18, pleaded guilty to two charges of injury to a child/causing bodily injury and agreed to testify against his co-defendant, the Fort Worth Star-Telegram reported online Thursday.

The video shows one teen lighting a marijuana cigarette in the 2-year-old's mouth, then laughing as the toddler coughs. One teen then tells him to pass it to his brother, who also smokes it and coughs. Parts of the video showed someone calling the children "potheads" and asking if they "have the munchies."

Drug tests showed the youngsters had marijuana and cocaine in their bodies. When the video was made, the children's mother was sleeping in another room, police have said. She was not arrested.