This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

WEST VALLEY CITY, Utah — Mitt Romney was forced Saturday into a Republican primary for a U.S. Senate seat in Utah as he looks to restart his political career by replacing long-serving Sen. Orrin Hatch.

Romney remains the heavy favorite overall to win the Senate seat in November. But if he had won the votes of a majority of the far-right leaning party delegates at the state GOP convention Saturday, he would have bypassed a primary altogether.

Instead, he was edged out by state lawmaker Mike Kennedy, who got 51 percent of the vote to Romney’s 49 percent.

Voters will decide between the two in a June 26 primary. Romney previously secured his spot on the ballot by gathering signatures.

Romney went up against 11 other candidates at the convention, mostly political newcomers who questioned Romney’s criticism of President Donald Trump and the depth of his ties to Utah.

Kennedy, a doctor and lawyer, got big applause from the crowd as he railed against the national debt, Common Core education standards and former President Barack Obama’s health care law.

Romney, 71, asked for delegates’ votes after spending two months on the campaign trail visiting dairy farms, taking selfies with college students and making stump speeches in small towns.

After his failed 2012 presidential campaign, he moved to Utah, where he is also known for his role in the 2002 Winter Olympics and for becoming the first Mormon presidential nominee of a major political party.

He’s worked to keep the focus on state issues rather than his history of well-documented feuds with Trump, whom he called a “con-man” and a phony during the 2016 race. Trump fired back that Romney “choked like a dog” during his own White House run.

But the two men have shown signs of making peace, and Romney has accepted Trump’s endorsement.