LONDON (AP) — Two candidates were knocked out of the race to replace U.K. Prime Minister Boris Johnson on Wednesday, leaving six lawmakers battling to lead the Conservative Party and the country.

Former Health Secretary Jeremy Hunt and Treasury chief Nadhim Zahawi failed to reach the threshold of 30 votes by Conservative lawmakers needed to stay in the contest.

The remaining contenders will now scramble to scoop up the two men’s supporters in a contest that will replace the flamboyant, scandal-ridden Johnson — a figure famous in Britain and around the world — with a new and much lesser-known prime minister.

The 358 Tory lawmakers had crammed into a humid corridor at Parliament on Wednesday afternoon to line up and cast their ballots in a grand room hung with oil paintings. Security staff made them hand over their phones to ensure secrecy.

Eight candidates had secured the required backing of 20 of their colleagues to make the first ballot.

Further rounds of voting will take place Thursday and, if needed, next week, until just two candidates remain.

The final two contenders will face a runoff vote by about 180,000 Conservative Party members across the country. The winner is scheduled to be announced Sept. 5 and will automatically become prime minister, without the need for a national election.

Few of the contenders have a high public profile. Former Treasury chief Rishi Sunak is the bookies’ favorite and received the largest number of votes, 88. He was followed by Trade Minister Penny Mordaunt, who is scoring highly in polls of Conservative members, with 67 votes, and Foreign Secretary Liz Truss, with 50.

Lawmaker Tom Tugendhat, ex-Equalities Minister Kemi Badenoch and Attorney General Suella Braverman also remain on the ballot.

The candidates are jostling to replace Johnson, who quit as Conservative leader last week amid a party revolt triggered by months of ethics scandals. He will remain in office as a caretaker prime minister until his replacement as party chief is chosen.

Mordaunt, at her official campaign launch on Wednesday, said the party had “standards and trust to restore” after the scandal-tarnished Johnson years.

She said voters “are fed up with us not delivering, they are fed up with unfulfilled promises and they are fed up with divisive politics.”

The slate of candidates is strikingly diverse, with four contenders from ethnic minorities and four women. But all are offering similar tax-slashing pledges, with only Sunak offering a note of caution. He has cast himself as the candidate of fiscal probity, saying said the country needs “honesty and responsibility, not fairytales” to get through economic shockwaves from the coronavirus pandemic and the war in Ukraine.

Supporters of the other candidates have improbably depicted Sunak — whose heroine is former Prime Minister Margaret Thatcher — as a left-winger. Johnson’s office has denied running a campaign to bad-mouth Sunak, whose resignation last week helped end the prime minister’s reign.

A spokeswoman insisted Johnson was remaining neutral in the campaign to choose his replacement.

Johnson struck a valedictory note at his weekly Prime Minister’s Questions session in the House of Commons. He hinted it could be his last appearance there, though he is scheduled take questions again next week, before Parliament’s summer break, and to leave office on Sept. 6.

“The next leader of my party may be elected by acclamation,” he told Labour leader Keir Starmer – though that would only happen if one of the final two candidates dropped out. “So it’s possible this will be our last confrontation.”

Johnson said it was “true that I leave not at a time of my choosing,” but insisted: “I will be leaving soon with my head held high.”

___

Follow all of AP’s coverage of Prime Minister Boris Johnson and British politics at https://apnews.com/hub/boris-johnson