With the end in sight for one of the largest public-corruption probes of the South Texas legal community, the lead federal prosecutor is warning about the dangers of too-cozy relationships between lawyers and judges.

“I think that there’s a culture and a close affiliation between judges and lawyers, partly due to the fact that our judges are elected. … As a result, it creates incentives that everybody involved has to be very mindful of. It’s a very close line,” said Michael Wynne, a former assistant U.S. attorney in the U.S. Attorney’s Office for the Southern District of Texas in Houston.