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: Pa. Supreme Court Rules 'Comfort Dogs' May Be Allowed To Help Witnesses Testify At Trial

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: Male Victim In Critical Condition After Rescue Along Monongahela River Near 10th Street Bridge

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: Wolf Administration Warns 99% Of All Wildfires Caused By People As Wildfire Season Begins In Pennsylvania

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