Follow KDKA-TV: Facebook | Twitter

PITTSBURGH (AP) – A longtime Allegheny County judge has resigned in the wake of her removal from two sex offender cases due to alleged bias.

READ MORE: Pittsburgh Weather: Clear Skies, Sunny Sunday

Common Pleas Judge Donna Jo McDaniel submitted her resignation Thursday.

The 72-year-old served on the bench for 33 years and has been praised for her compassion toward victims of sex crimes.

READ MORE: Pittsburgh Area Residents Still Receiving Chase Bank Cards They Did Not Sign Up For

But twice in the last month the state Superior Court removed McDaniel from sex offenders’ sentencing proceedings for allegedly showing bias against the defendants and their attorneys.

The Pittsburgh Post-Gazette reports McDaniel wrote in her resignation letter that she was most proud of establishing specialty courts to handle domestic violence and sex crimes cases.

McDaniel served as a deputy public defender and city magistrate before being elected to the Common Pleas bench in 1985.

MORE NEWS: 'Moderna Arm': Some People Develop Reaction To Moderna COVID-19 Vaccine

(Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)