Britain’s next prime minister will be a man in his 50s who went to Oxford University — either Boris Johnson or Jeremy Hunt, the two finalists selected Thursday in a race to lead the governing Conservative Party.

Johnson , a flamboyant former foreign secretary and ex-mayor of London, topped a ballot of 313 Conservative lawmakers with 160 votes and is runaway favorite to become the party’s next leader. He has led in all five voting rounds of a contest that began last week with 10 contenders.

Hunt , Britain’s current foreign secretary, came a distant second with 77 votes and will join Johnson in a runoff decided by 160,000 party members across Britain.

From left, Charles Walker, Bob Blackman, Dame Cheryl Gillan, Nigel Evans and Geoffrey Clifton-Brown announce the result of the fourth ballot in the Tory leadership ballot at the Houses of Parliament in Westminster, London, Thursday June 20, 2019. Boris Johnson, a former foreign minister and ex-mayor of London, took 157 of the votes, Environment Secretary Michael Gove and Foreign Secretary Jeremy Hunt came next, with 61 and 59 votes respectively, Home Secretary Sajid Javid came fourth with 34 votes and drops out. (Stefan Rousseau/PA via AP)
From left, Charles Walker, Bob Blackman, Dame Cheryl Gillan, Nigel Evans and Geoffrey Clifton-Brown announce the result of the fourth ballot in the Tory leadership ballot at the Houses of Parliament in Westminster, London, Thursday June 20, 2019. (Stefan Rousseau/PA via AP)

Johnson tweeted that he was honored to have gotten more than half the votes cast by party lawmakers. He said “I look forward to getting out across the U.K. and to set out my plan to deliver Brexit, unite our country, and create a brighter future for all of us.”

Hunt said on Twitter that he knew he was the underdog “but in politics surprises happen.”

The winner of the runoff, due to be announced the week of July 22, will become the new Conservative leader and the country’s next prime minister, replacing Theresa May.

FILE - In this two photo file combo image, Jeremy Hunt, left, and Boris Johnson, right, pictured outside 10 Downing Street, who are the final two contenders for leadership of the Conservative Party, it is announced Thursday June 20, 2019.  Following elimination votes Britain's Conservative Party members will vote for the final two contenders with the winner due to replace Prime Minister Theresa May as party leader and prime minister. (AP Photo FILE/Alastair Grant, Alastair Grant)
FILE – In this two photo file combo image, Jeremy Hunt, left, and Boris Johnson, right, pictured outside 10 Downing Street, who are the final two contenders for leadership of the Conservative Party, it is announced Thursday June 20, 2019. (AP Photo FILE/Alastair Grant, Alastair Grant)

Hunt edged out Environment Secretary Michael Gove, who got 75 votes, after Home Secretary Sajid Javid was eliminated earlier Thursday.

The result spares Johnson a showdown with Gove, his former ally-turned-archrival. The two men jointly led the “leave” campaign in Britain’s 2016 EU membership referendum, but Gove scuttled Johnson’s subsequent bid to become prime minister by deciding to run for the job himself, in a race ultimately won by May.

This time around, many in the party doubt that anyone can beat 55-year-old Johnson, a quick-witted, Latin-spouting extrovert admired for his ability to connect with voters, but mistrusted for his erratic performance in high office and his long record of inaccurate, misleading and sometimes offensive comments.

British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. The race to become Britain's next prime minister is down to the final four on Wednesday, as Boris Johnson stretched his lead among Conservative lawmakers and upstart Rory Stewart was eliminated from the contest. (AP Photo/Matt Dunham)
British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. (AP Photo/Matt Dunham)

“Boris will say absolutely anything in order to please an audience,” historian Max Hastings told the BBC on Thursday. “Boris would have told the passengers on the Titanic that rescue was imminent.”

Hunt, who has been culture secretary and health secretary, is considered an experienced, competent minister, but unexciting. The 52-year-old politician bills himself as the “serious” candidate, in an implicit contrast to Johnson. He will try to halt Johnson’s momentum by picking away at his rival’s plans for Brexit as the two speak to party members at meetings across the country over the next few weeks.

Both Johnson and Hunt vow they will lead Britain out of the European Union, a challenge that defeated May. She quit as Conservative leader earlier this month after failing to win Parliament’s backing for her Brexit deal.

British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. The race to become Britain's next prime minister is down to the final four on Wednesday, as Boris Johnson stretched his lead among Conservative lawmakers and upstart Rory Stewart was eliminated from the contest. (AP Photo/Matt Dunham)
British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. (AP Photo/Matt Dunham)

Brexit, originally scheduled to take place on March 29, has been postponed twice amid political deadlock in London.

Johnson has won backing from the party’s die-hard Brexiteers by insisting the U.K. must leave the bloc on the rescheduled date of Oct. 31, with or without a divorce deal to smooth the way.

He also is supported — somewhat paradoxically — by some Tory moderates who claim Johnson has the skills to unite the party and win back voters from rival parties on both the left and the right.

British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. The race to become Britain's next prime minister is down to the final four on Wednesday, as Boris Johnson stretched his lead among Conservative lawmakers and upstart Rory Stewart was eliminated from the contest. (AP Photo/Matt Dunham)
British Conservative party leadership and prime minister contender Boris Johnson leaves his home in south London, Thursday June 20, 2019. (AP Photo/Matt Dunham)

Boris-backer Robert Buckland said Johnson was “a moderate, open-minded” Conservative.

“The essence of Boris Johnson is a unifier,” he said.

Hunt backed the losing “remain” side in the referendum, a disadvantage in a party whose rank-and-file members are overwhelmingly pro-Brexit. Hunt now insists he is determined to go through with Brexit and says his past in business, running an educational publishing firm, gives him the experience to negotiate with the EU.

Anti-Brexit remain supporters' placards stand leaning opposite the Houses of Parliament in London, Wednesday, June 19, 2019. Britain's Conservative Party are set to kick one more candidate out of the contest to become the country's next prime minister, as rivals scramble to catch front-runner Boris Johnson. The five-strong field will be narrowed in elimination votes by Tory lawmakers Wednesday and Thursday, with the two top candidates going to a runoff of party members across the country. (AP Photo/Matt Dunham)
Anti-Brexit remain supporters’ placards stand leaning opposite the Houses of Parliament in London, Wednesday, June 19, 2019. (AP Photo/Matt Dunham)

Hunt says he would seek another postponement of Brexit if that is needed to secure a deal, but only for a short time.

Critics say neither candidate has a realistic plan. The EU is adamant that it won’t reopen the Brexit agreement it struck with May’s government, which has been rejected three times by Britain’s Parliament.

Irish Prime Minister Leo Varadkar said Thursday that “the withdrawal agreement is not going to be reopened.”

A demonstrator in a Boris Johnson mask poses with a banner outside the Houses of Parliament in London, Thursday, June 20, 2019. The contest to become Britain's next prime minister is down to its final three candidates, with Environment Secretary Michael Gove and Foreign Secretary Jeremy Hunt chasing front-runner Boris Johnson for a spot in a deciding runoff. (AP Photo/Kirsty Wigglesworth)
A demonstrator in a Boris Johnson mask poses with a banner outside the Houses of Parliament in London, Thursday, June 20, 2019. (AP Photo/Kirsty Wigglesworth)

He also said there was “enormous hostility to any further extension” of the Brexit deadline among the other 27 EU leaders.

Many economists and businesses warn that leaving the EU without a deal on divorce terms and future relations would cause economic turmoil as tariffs and other disruptions are imposed on trade between Britain and the EU.

U.K. Treasury chief Philip Hammond warned that a no-deal Brexit would put Britain’s prosperity at risk and leave the economy “permanently smaller.”

Anti-Brexit remain supporters, one with a 'Doris Johnson' unicorn, protest outside the Houses of Parliament in London, Thursday, June 20, 2019. The contest to become Britain's next prime minister is down to its final three candidates, with Environment Secretary Michael Gove and Foreign Secretary Jeremy Hunt chasing front-runner Boris Johnson for a spot in a deciding runoff. (AP Photo/Kirsty Wigglesworth)
Anti-Brexit remain supporters, one with a ‘Doris Johnson’ unicorn, protest outside the Houses of Parliament in London, Thursday, June 20, 2019. (AP Photo/Kirsty Wigglesworth)

“The question to the candidates is not ‘What is your plan?’ but ‘What is your Plan B?'” Hammond said in extracts from a speech he was giving Thursday night.

Anti-Brexit remain supporters protest outside the Houses of Parliament in London, Thursday, June 20, 2019. The contest to become Britain's next prime minister is down to its final three candidates, with Environment Secretary Michael Gove and Foreign Secretary Jeremy Hunt chasing front-runner Boris Johnson for a spot in a deciding runoff. (AP Photo/Matt Dunham)
Anti-Brexit remain supporters protest outside the Houses of Parliament in London, Thursday, June 20, 2019. (AP Photo/Matt Dunham)