A man from Oneida County, Wis., will spend three years in prison in connection with the latest of a series of convictions connected to a Rice Lake “sex sting” operation during 2017, Barron County Circuit Court records said.

Corey R. Rein, 43, of Arbor Vitae, Wis., was sentenced Tuesday, Dec. 18, 2018. Rein’s four-year prison term will be shortened by almost a year because he had already served 254 days in jail at the time of the Dec. 18 court hearing.

His prison term will be followed by three years of extended supervision. Rein must also register as a sex offender, court documents said.

According to a complaint filed in April 2018, Rein responded to postings on a gay website placed by a Rice Lake police investigator, who posed as an under-16 teen boy looking to connect with an older man.

After establishing an electronic contact, the investigator sent Rein a photo of a fellow male officer when he was younger. A record was kept of the ensuing online and text conversations, which gradually became more explicit, until a meeting was arranged at a Rice Lake parking lot last April 9.

In October, Rein pleaded guilty to felony counts of child enticement for sexual contact, and attempted second degree sexual assault of a child, court records said.