Lee Circuit Judge Jay Barry Rosman, 64, was booked into the Collier County jail, but has since been released after posting $4,000 bail, according to an arrest report.

The Naples Daily News reported that Rosman was arrested during an undercover prostitution sting by the Naples Police Department. Five other men also were arrested after police said they allegedly negotiated to meet with an undercover officer and pay up to $300 for sex acts.

Rosman, who has been a judge since 1986, served as the chief judge of the 20th Judicial Circuit from 2011 to June 2015, according to his biography on the circuit court’s website.