Nine-term Congressman Steve King of Iowa will lose his Republican primary race to state senator Randy Feenstra on Tuesday, CNN projected, after King's racist comments led to his ostracization in Washington and Feenstra mobilized conservative Republicans to his insurgent campaign.

The primary fight was an undeniable referendum on King -- not on his conservatism, but on his effectiveness in office. His lack of power, far more than his specific words and history of remarks on race, became a central issue in this year's race, with opponents arguing that he is unable to represent their views in the House or to the administration.

King, an anti-immigration hardliner, had a well- documented history of controversial statements during his nine terms in office. But only after a New York Times interview in January 2019, in which the congressman questioned how "white nationalist, white supremacist, Western civilization" became offensive, did House Republican leaders rebuke him by stripping him of his committee assignments. Last June, the Trump administration barred him from Air Force One when the President visited his state.

King has said that his words have been mischaracterized and taken out of context, blaming the media and Republican leaders for leading a vendetta against him.

"The Never Trumpers are the people who ginned this all up," King said in a recent debate, speaking with an air of defiance about the Republicans "who want Steve King out of the way."

Feenstra was viewed as King's toughest opponent in a five-way race that included former state legislator Jeremy Taylor, businessmen Steve Reeder and Army veteran Bret Richards.

"I am truly humbled by the outpouring of support over the past 17 months that made tonight possible and I thank Congressman King for his decades of public service," Feenstra said in a statement.

"As we turn to the General Election, I will remain focused on my plans to deliver results for the families, farmers and communities of Iowa. But first, we must make sure this seat doesn't land in the hands of Nancy Pelosi and her liberal allies in Congress. Tomorrow, we get back to work."

Feenstra had won marquee endorsements and financial support from conservative groups in Washington, including the Chamber of Commerce and the National Right to Life Committee. He told voters he wanted a seat on the House Agriculture Committee -- something King no longer has. And he boasted a much greater campaign war chest, reporting over $415,000 on hand at the end of March compared to fewer than $30,000 for King. "The 4th District needs a seat at the table -- an effective conservative voice," Feenstra said in a recent debate. "Our district, our President, deserve an effective conservative leader in Congress." The biggest uncertainty heading into Tuesday, according to Republicans strategists in Iowa, was the number of absentee ballots. For the first time, all Iowa voters were sent request forms for mail-in ballots and as of Tuesday, over 70,000 Republican ballots had been requested in the district, with nearly 60,000 already returned, according to the office of Iowa Secretary of State Paul Pate. Two years ago, fewer than 3,000 absentee ballots were recorded. The dramatic uptick in absentee ballots appeared to help doom the longtime congressman by bringing in new Republican voters. Bob Vander Plaats, a former King supporter and an influential Christian conservative, endorsed Feenstra, worried that if King wins the primary that Democrats would have a better shot to not only win his deep red district in northwest Iowa but also defeat President Donald Trump and Iowa Sen. Joni Ernst. Democrat J.D. Scholten, a former professional baseball player, came within three points of beating King in 2018 and is running again.

King responded that Vander Plaats and Feenstra are sacrificing their principles "in their misguided effort to shut down real conservatives and hand this district over to RINOs and NeverTrumpers."