A Youngstown man has been sentenced in federal court for photographing himself sexually assaulting two young girls.

A judge in U.S. District Court handed down a 37-year prison sentence to 36-year-old Daniel Fleischer on Wednesday.

Also, Fleischer must spend the rest of his life on probation after pleading guilty in April to receiving pictures of children engaged in sexually explicit conduct and sexual exploitation of children.

According to an indictment, Fleischer photographed himself as he sexually assaulted a child, in June 2011, and did the same with another child in December 2013.

Fleischer was also accused of receiving and distributing several images of children engaged in sexually explicit conduct, taking place between December of 2017 and March of 2018.

The charges follow a raid by state and federal agents on Fleischer's Brownlee Woods Weston Avenue home in March of last year that agents say turned up a phone and two thumb drives containing child pornography.

According to an affidavit filed by a BCI agent, authorities began their investigation in December after becoming aware of child pornography videos being sharked through the KIK social media platform.

Investigators say the videos showed nude and half-nude girls ranging in age from five to 14-years-old.