Democrat running as a Republican Michael Helfrich defeated incumbent York Mayor Kim Bracey after losing to Bracey in the Democratic primary this year. Helfrich is the current city council president.
Helfrich won the race by 133 votes, according to the York Daily Record.
The victory for Helfrich comes after losing the primary to Bracey, and then running against the endorsements of major state Democratic figures. Gov. Tom Wolf, U.S. Sen. Bob Casey and state Auditor General Eugene DePasquale all endorsed Bracey for a third term.