A high-ranking Fort Myers police officer was arrested Tuesday on charges of soliciting prostitution, official misconduct and perjury related to a massage parlor sting that happened more than six years ago.

Fort Myers Police Capt. Jay Rodriguez was booked into the Lee County Jail at 11 a.m. and released less than two hours later after posting a $4,000 bond, according to arrest records.

Sara Miles, public information officer for the 20th Judicial Circuit, said the judge who signed Rodriguez’s arrest warrant also set bail, without putting Rodriguez through a typical first appearance like others who have been arrested.

The warrant was not available Tuesday afternoon.

Attempts to reach Rodriguez were unsuccessful Tuesday. Rodriguez is being represented by Peter Ringsmuth, of Ringsmuth, Day & O’Halloran. Ringsmuth declined to comment.

Rodriguez’s next court date is scheduled for Oct. 14, arrest records show.

The arrest occurred six months after the Florida Department of Law Enforcement began an investigation following the February release of a video showing Rodriguez allegedly engaged in a sexual act during an undercover prostitution sting in 2013.

Rodriguez is accused of falsifying an official document, perjury in an official proceeding and procuring prostitution, according to arrest records.

The FDLE investigation found “Rodriguez solicited and engaged in prostitution with a female massage therapist while on duty and acting in an undercover capacity during a massage parlor operation in Fort Myers on March 14, 2013.”

Rodriguez also “authored a falsified account of his actions during the operation, which was relied upon by the arresting officer to affect the arrests of two women at the massage parlor,” a news release states.