The unthinkable unfolded in Cheektowaga on Tuesday.
Voters in the heavily Democratic town – the party has a 2-to-1 edge in enrollment – sent a Republican to the Assembly for the first time in decades.
Angela M. Wozniak, a registered Conservative running on the GOP line, broke the Democratic stranglehold on the 143rd Assembly seat by defeating Mark M. Mazurek, a small-business consultant.
Her victory comes just three years after she became the first Republican elected to the Cheektowaga Town Board in 20 years.
With all of Tuesday’s ballots counted, the Erie County Board of Elections had Wozniak with 59 percent, and Mazurek with 36 percent. Working Families candidate Camille Brandon had 5 percent.
Wozniak’s victory makes her one of the highest-ranking Conservative Party officeholders in the state.
Perhaps more important, it ends decades of Democratic Party rule in the 143rd, a run that included Dennis T. Gorski and Paul A. Tokasz. Gorski went on to become Erie County executive, and Tokasz rose to the office of Assembly majority leader.
Wozniak’s victory also means that the district will have a representative in the Assembly for the first time since Dennis H. Gabyrszak resigned in January amid allegations of sexual harassment by female staff members.
Incumbent Republican Stephen M. Hawley of Batavia, running without major party opposition, won a fifth term in the Assembly.
Hawley, 65, was endorsed by the Conservative and Independence parties. His only opponent was Libertarian Party candidate Mark Glogowski of Hamlin, a retired Kodak chemist. The 139th District covers most of Orleans and Genesee counties and parts of Niagara and Monroe counties.
Robin L. Schimminger will continue his run as one of the region’s longest-serving elected officials.
The Kenmore Democrat defeated Republican William J. Reece, 51, a small-business owner, to secure a 20th term in the Assembly.
Schimminger won with the help of the Conservative Party line, a rarity for a Democrat, and the Independence line.
The 140th includes the City of Tonawanda, portions of Buffalo and the Town of Tonawanda and most of North Tonawanda.
Democrat Crystal D. Peoples-Stokes ran unopposed while winning a seventh term in the Assembly.
Peoples-Stokes, a former Erie County legislator, won with the backing of the Working Families Party. Her district includes the city’s East Side and portions of North Buffalo and downtown.
Democrat Michael P. Kearns ran without opposition for the second consecutive election since winning a special election in 2011.
Kearns, a former Buffalo Common Council member, represents a district that includes portions of South Buffalo, West Seneca, Orchard Park and Lackawanna. He ran with the backing of the Republican, Conservative and Independence parties.
Incumbent Jane L. Corwin of Clarence also ran unopposed while winning another term.
First elected in 2008, Corwin ran on the Republican, Conservative and Independence lines.
She represents a district that includes Clarence and portions of Niagara County.
Republican John D. Ceretto won a third term with the help of the Conservative and Independence parties.
Unopposed this year, the former Town of Lewiston councilman represents a district that includes Niagara Falls and the towns of Cambria, Grand Island, Lewiston, Niagara and Wheatfield as well as parts of North Tonawanda.
Political newcomer Steven G. Meyer, a Democrat, failed in his bid to unseat incumbent Republican Raymond W. Walter.
Walter, a former Erie County legislator who won his Assembly seat in a special election three years ago, won with the backing of the Conservative, Independence and Stop Common Core lines.
The district includes Amherst and Pendleton.
Republican David J. DiPietro ran unopposed while winning his second term in the Assembly.
The former East Aurora mayor represents a district that includes the southern portion of Erie County and all of Wyoming County.
Republican Joseph M. Giglio of Gowanda, who was unopposed, won his fifth full term in the Assembly.
Giglio’s district includes Cattaraugus and Allegany counties and part of Steuben County.
Democrat Sean M. Ryan won a second full term.
The incumbent defeated Republican Jacob J. Bratek and Green Party candidate Charley Tarr.
The district spans much of Buffalo, including downtown, the West Side and North Buffalo, as well as the First Ward in Lackawanna and Hamburg.
Republican Andrew W. Goodell defeated Democratic challenger Barrie E. Yochim to win a third term in the Assembly.
For Yochim, executive director of the local Meals on Wheels program, it was his first run for elected office.
The district includes all of Chautauqua County.