A former San Antonio lawyer – who once ran for state district judge – was busted for trading legal services for sex, according to a new report.

Mark Benavides was indicted this week on fresh sex-trafficking charges alleging that he used “force, fraud and coercion” to pimp out six women for as long as 22 months, KSAT reported.

He forced some of the women – many of whom were poor – to have sex with him in exchange for representing them in court.

The 47-year-old attorney was first arrested in November 2015 – when he was a candidate for state district judge – and has since been charged with more than 40 counts, including possession of child pornography, sexual assault, and compelling prostitution.

His creepy scheme lasted between 2009 to 2015.

Hundreds of the sex acts were recorded on camera, including some with at least one girl under 17 years old.

Benavides was disbarred last year as a result of the allegations, according to Law360.