HARRISONBURG, Va. — A Virginia man who filmed himself sexually exploiting two children has been sentenced to 30 years in federal prison.

Thirty-three-year-old LaMarcus Thomas of Winchester was sentenced Friday after previously pleading guilty to two counts of production of child pornography.

Prosecutors say Winchester police began an investigation in 2014 after receiving a complaint that two children had been molested by Thomas.

When arresting Thomas on the state sex crime allegations local police recovered his cell phone, which was later found to contain several images and videos of child pornography depicting two boys, who appeared to be sleeping at the time the images were made.