BATH, N.Y. (WENY) -- A Bath man has been sentenced to federal prison after attempting to have sex with a 9-year-old child. 

As WENY News reported, in June, 34-year-old William Read was convicted of the online enticement of a minor. 

Prosecutors said Read used social media in an attempt to meet a 9-year-old child for sex and was intercepted by members of the New York State Police and Department of Homeland Security on October 1, 2018 while on his way to meet that child. 

Investigators say Read was in possession of condoms and candy, which he reportedly intended to give to the child. Additionally, he also distributed and possessed images of child porn from a cell phone. 

According to U.S. Attorney James Kennedy, Jr., Read was sentenced to serve 132 months in prison by Chief U.S. District Judge Frank Geraci, Jr.