Just a few months after Philadelphia District Attorney Seth Williams went to jail in a corruption case, another Philadelphia law enforcement official will go to trial on fraud and conspiracy charges. Former Sheriff John Green's trial is scheduled for October 30 in federal court.

Green was Philadelphia's sheriff for 22 years before abruptly resigning in 2011, after audits raised questions about his office's financial practices.

After a long investigation, prosecutors indicted Green and an associate, Jim Davis, on corruption charges. The feds say Green gave businesses owned by Davis lucrative deals at taxpayers' expense, and Davis rewarded Green with campaign contributions and expensive gifts worth hundreds of thousands of dollars.

The sheriff's office manages the sale of foreclosed properties in Philadelphia.

Prosecutors charge that under Green's administration, companies owned by Davis got contracts deals advertising sheriffs sales and performing other functions, such as preparing and executing deeds for tax sales.

In return, the feds say, Davis helped Green in numerous ways — giving his wife a job, helping Green purchase a Florida retirement home, and providing more than $200,000 in services to Green's election campaign in violation of city campaign finance laws.

Davis's attorney Lewis Small said both men will fight the charges and show taxpayers were well-served.

"We believe the jury will find that there was not anything improper, and these were not improper gifts," Small said in a telephone interview.

By the time the case goes to trial the day before Halloween, nearly two years will have passed since charges were filed in December, 2015.

Green's attorney, Peter Scuderi, said that's because it's a complex case and the government has a mountain of evidence it may introduce.

"It's a question of the number of documents involved," Scuderi said. "There are over a million documents, most of which are irrelevant to me, and frankly irrelevant to the case. However, we had to go through those documents."

Assistant U.S. Attorney Richard Barrett, who's prosecuting the case, declined comment.

Related: Where sheriffs come from