A Lewiston man who forced two boys to commit sex acts while threatening them with a knife and then broadcasting an image of one of them on the Internet was sentenced Monday to 25 years in federal prison.

Derek Hinkley, 30, pleaded guilty on Jan. 30 in U.S. District Court in Portland before Judge Nancy Torresen to a charge of sexual exploitation of a child.

Hinkley invited the two boys on July 17, 2012, to spend the night in his apartment after telling them he was 18. The boys got permission from their parents to stay with him, Martin Conley, a federal agent with the Department of Homeland Investigations, said in an affidavit filed with the court.

Once they were at his home, Hinkley threatened the boys, who were 12 and 15 at the time, with a square-bladed knife, sometimes used to cut leather, with physical harm if they did not do what he wanted, Conley wrote in the affidavit.

Sometime after midnight, Hinkley used a camera on his computer to record the older boy as he forced him to commit sex acts and broadcast it on a social media website, the affidavit states.

Lewiston police received written consent to search Hinkley’s apartment on July 19 and seized his computer. Later analysis showed there were 80 images of child pornography on it, Conley said.

Torresen also sentenced Hinkley, also known as Ethan Hinkley, to serve the rest of his life on supervised release after completing his prison term, according to the U.S. Attorney’s Office.

This story was updated at 12:30 p.m. Wednesday to correct a statement attributed to Judge Nancy Torresen by the Associated Press.

Scott Dolan can be contacted at 791-6304 or at:

sdolan@pressherald.com

Twitter: @scottddolan