Democrat Adam Hamilton is projected to have defeated incumbent Republican Roger Marshall in Kansas, becoming the first Democrat to win a US Senate seat in the state since 1932. The result, called by the Associated Press news agency, breaks almost a century of Republican success in Kansas Senate elections.

The contest was viewed as consequential to control of the Senate. Its competitiveness surprised political observers in a state with such a long record of electing Republicans to the chamber. According to the AP, spending on the race reached $110 million, making it the most expensive contest in Kansas history.

Hamilton, a Methodist pastor who founded the country’s largest United Methodist church, made his faith a central part of his campaign. He paired that religious identity with core Democratic positions on affordability, focusing on an issue facing a state whose agricultural and transportation industries have been hit by record-high diesel and fuel prices.

Speaking on Monday, Hamilton presented the election as a critical moment for the country and its democracy. “The next two years are a pivotal time for our country,” he said. His campaign brought together his public role as a religious leader and his arguments for Democratic policies on the cost of living.

Marshall campaigned as a firm supporter of President Donald Trump, who joined the effort to secure the Republican senator’s reelection. The incumbent promoted Trump’s agenda while promising support for agriculture and expanded healthcare in rural communities. His healthcare pledge came despite his vote in favor of Trump’s funding cuts.

A physician, Marshall also faced controversy over his positions on public health. He supported Trump’s Make America Healthy Again policies, which critics say undermine public health, and opposed mask mandates during the pandemic. Those positions formed part of the scrutiny surrounding his medical background during the campaign.

His record as a doctor drew further attention after The New York Times reported that he had sued about 700 former patients over medical debt. Hamilton’s campaign used the report in attack advertisements, bringing Marshall’s past dealings with patients into the electoral contest.

The projected outcome gives Democrats a Kansas Senate victory for the first time in nearly a century, following a campaign that combined debates over household costs, agriculture and rural healthcare with competing appeals from a pastor and a physician.