BALTIMORE (AP) — An Essex man has been sentenced to 50 years in prison for producing child pornography.

Thirty-nine-year-old Foster William Dove III was sentenced Thursday in federal court in Baltimore.

READ MORE: Protests Continued In Maryland Saturday Over A SCOTUS Decision To Overturn Roe V. Wade

According to court documents, Dove used a file-sharing program to send a video depicting children engaged in sexually explicit conduct to an undercover law enforcement officer.

READ MORE: Man Found Dead Near His Walker On Anne Arundel County Roadway Saturday, Police Say

Prosecutors say a search of Dove’s home turned up pictures and videos of him sexually abusing of two boys. Authorities say Dove also had secretly videotaped 17 other minor males engaging in sexually explicit conduct with a hidden camera in his bathroom.

MORE NEWS: Man Shot In Joppatowne Saturday, Sheriff's Office Says

(Copyright 2013 by The Associated Press. All Rights Reserved.)