Former Judge Angus McGinty, who faces two years in prison in a federal bribery case, has resigned his law license in the face of an attorney disciplinary lawsuit that might have disbarred him.

McGinty, who resigned in 2014 from Bexar County’s 144th District Court, pleaded guilty to one count of honest services wire fraud for taking car repairs worth $6,500 from a lawyer in exchange for rulings favorable to the defense in criminal cases. He awaits sentencing on July 15.