The Philadelphia Inquirer reported that former police Officer Rochelle Bilal held a nearly 20,000-vote advantage with more than 85 percent of returns in, a crushing defeat for Sheriff Jewell Williams.
Two former sheriff's deputies also sought the Democratic nomination for sheriff.
Over the past year it was revealed Williams has been the target of three sexual harassment lawsuits. Two were settled and one is pending. Williams denied all the allegations.
No Republican sought the office but an independent could still challenge Bilal in the November general election.
The 61-year-old Bilal is president of the Guardian Civic League and secretary of the local NAACP chapter.
Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.