Hinds County Circuit Judge Bobby DeLaughter pleaded guilty Thursday to a federal obstruction of justice charge, ending a respected legal career that had been sullied by scandal.

The plea deal avoids a trial, which had been set for Aug. 17. Prosecutors dropped charges of conspiracy and mail fraud.