Skip to main content
Press Release

Massachusetts Man Sentenced to Ten Years in Prison for Attempting to Entice a Minor, Traveling to Engage in Illicit Sex, Attempting to Transfer Obscene Material to a Minor

For Immediate Release
U.S. Attorney's Office, District of Rhode Island

PROVIDENCE, R.I. – A Massachusetts man who engaged in a series of online communications, often of a sexual nature, with someone whom he believed to be a 12-year-old girl, and then traveled to Rhode Island with the intent of having sex with the girl and sexual contact with her younger sister, has been sentenced to ten years in federal prison, announced United States Attorney Zachary A. Cunha.

Cody J. Hansen, 38, of Orange, MA., previously admitted to a federal judge in Providence that he posted an online classified advertisement seeking to connect with “someone that likes to play when the girl is passed out.” In May 2018, he engaged in a series of online communications with a person who responded to his posting; Hansen believed that this person to be the caretaker of 12 and 8-year-old girls living in Rhode Island. The caretaker provided Hansen with an email address he could use to contact the 12-year-old girl. In actuality, Hansen was communicating with an undercover Rhode Island State Police detective assigned to the Rhode Island Internet Crimes Against Children (ICAC) Task Force.

On May 22, 2018, Hansen drove to Rhode Island and met with the person he believed to be the young girl’s caretaker. In a conversation with the undercover officer, Hansen confirmed that he knew the ages of the girls that he came to meet and to have sex with. He was immediately arrested by members of the ICAC Task Force and Homeland Security Investigations.

Hansen pleaded guilty on December 15, 2021, to attempted enticement of a minor, attempted transfer of obscene material to a minor, and travel with intent to engage in illicit sexual conduct. He was sentenced on Tuesday by U.S. District Court Chief Judge John J. McConnell, Jr., to 120 months in federal prison to be followed by twenty years of federal supervised release.

This Project Safe Childhood case was prosecuted by Assistant United States Attorney Dulce Donovan.



Jim Martin
(401) 709-5357

Updated February 15, 2023

Project Safe Childhood
Press Release Number: 23-17