SANFORD | The former second in command of the Jacksonville Fraternal Order of Police has pleaded guilty to illegally structuring financial transactions and running an illegal lottery as part of the Allied Veterans of the World public corruption scandal.

Robbie Freitas, 50, pleaded guilty Tuesday afternoon. Circuit Judge Kenneth Lester set a Nov. 24 sentencing date for Freitas. He will remain out on bond until that time.

Prosecutors have previously said the former Jacksonville police officer is unlikely to do any time in prison, and Freitas’ attorney said he will cooperate with prosecutors.

Freitas and attorney Tad Yates declined to comment after the plea deal, but Yates previously said the deal was in his client’s best interest, classifying it as a “plea of convenience.”

Freitas had been charged with 17 criminal counts, including racketeering and money laundering. Freitas was a police officer and second in command at the union at the time of his arrest in February 2013. He was put on unpaid leave and later retired.

Authorities said the St. Augustine-based nonprofit, which operated dozens of gaming centers throughout Florida, pocketed hundreds of millions of dollars and engaged in illegal gambling.

According to an affidavit filed when Freitas was arrested, he was an authorized signature on a bank account for Enzyme Consultants that was really a “shell corporation” being utilized to launder illegal proceeds from gambling. The account was controlled by Freitas and Nelson Cuba, former president of the Jacksonville Fraternal Order of Police, according to the court documents.

Enzyme Consultants was created for the purpose of paying Cuba and Freitas illegal proceeds generated by Allied Veterans, prosecutors said.

Bob Finkbeiner with the Office of Statewide Prosecution said last week that Freitas would not be sentenced until everyone else in the case is dealt with. State officials arrested 57 people in the case, but only seven cases remain.

Cuba is one of the seven.

Lester set a September trial date for the seven remaining defendants. Finkbeiner said last week that he expects all seven to make plea deals before trials begin, but Lester appeared to contradict Finkbeiner Tuesday afternoon when he said he was assuming the seven remaining defendants would go to trial, and he was expecting the trial to take six weeks.

Allied operated centers, called Internet cafes, out of about 50 strip malls throughout Florida. Customers bought Internet time at computers that also featured sweepstakes games that simulated slot machines.

Prosecutors said the centers were mini-casinos, and most patrons who bought Internet time actually didn’t use it because most came to gamble.

The 48 defendants who have taken plea deals have all avoided prison time. The people who got deals included former Allied commanders Jerry Bass and Johnny Duncan and the man who designed the computer software for the games, Chase Burns.

Bass, for instance, pleaded no contest to two charges of operating an illegal gambling establishment and was sentenced to the 15 days he had already served. Adjudication was withheld, meaning Bass will not have a conviction on his record. All other charges were dropped.

The only one facing jail time is also the only one to go on trial, Jacksonville attorney Kelly Mathis.

Mathis was sentenced to six years in prison after being convicted of 103 counts. He is appealing and will remain out on bond in the meantime. Prosecutors said Mathis was the mastermind behind the $300 million gambling ring.

The arrests led to a ban on online gaming centers and the resignation of Lt. Gov. Jennifer Carroll, who was connected to Allied Veterans but never charged with a crime.

On April 4, agents orchestrated another round of raids at gaming centers, including targeting seven in Jacksonville owned by Peter Miller of Neptune Beach. Although they confiscated records and computers, Miller has not been charged, and the case remains under investigation.