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: Report Says ‘Serious Racial Disparities’ Exist In Pennsylvania Juvenile Court

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: WATCH: Water Main Break Sends Water And Debris Shooting Into Peace, Love And Little Donuts In Strip District

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: NWS Confirms EF-0 Tornado Touches Down Along Butler And Allegheny Counties Border

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