An Emsworth man who tried to arrange a sexual encounter with a minor has been sentenced to 10 years in prison, the U.S. Attorney’s Office in Pittsburgh announced.

A news release Tuesday said Thomas Kastory, 32, also will serve five years of supervised release after he was convicted of attempted coercion and enticement of a minor, who turned out to be an agent posing as a 14-year-old.

District Judge J. Nicholas Ranjan imposed the sentence.

Prosecutors said between April and May 2022, Kastory used his cellphone and the internet to seek sex with a person he thought was 14.

On May 29 he got on a bus to meet the purported child and thought the parents would be out of town. He took condoms with him.