Leading lawmakers from Britain’s governing party battled over Brexit as the contest to become the next Conservative prime minister officially kicked off Monday, when nominations closed.

The decision of who will replace Prime Minister Theresa May affects all Britons, but will be made only by members of the Conservative Party.

After the 5 p.m. close of nominations, party officials announced the names of the 10 lawmakers who are running, including former Cabinet minister Boris Johnson, Foreign Secretary Jeremy Hunt and Environment Secretary Michael Gove. An 11th, Sam Gyimah, withdrew because he was unable to secure the support of eight colleagues as required by party rules.

The winner will face the challenge of breaking Britain’s impasse over Brexit, an issue that has bedeviled politicians for three years and ultimately defeated Theresa May.

May stepped down Friday as Conservative leader after failing to secure Parliament’s backing for her EU withdrawal deal. She will remain caretaker prime minister until the party picks its new leader, a process expected to take until late July.

For all of them, the key issue is Brexit. The Conservatives have been hammered in recent European and local elections as voters punish the party for failing to leave the 28-nation EU.

“Our failure to deliver Brexit has put our country and party in grave peril,” Hunt said as he officially launched his campaign on Monday. “Without Brexit there will be no Conservative government and maybe no Conservative Party.”

The candidates divide into those, including Hunt and Gove, who say they will prioritize finding a divorce deal that’s acceptable both to the EU and to Parliament, and hard-core Brexit backers such as Johnson who say the U.K. must leave on the scheduled date of Oct. 31. — with or without a deal.

Gove, one of the front-runners, is trying to limit fallout from his admission of long-ago cocaine use, which brought allegations that the former justice secretary — who oversaw a system that sends drug users to prison — is a hypocrite.

“I’ve acknowledged that I made a mistake,” Gove said, adding that as justice secretary he was a reformer who sought to rehabilitate prisoners and “take broken lives and put them back together.”

Most of the other contenders have also confessed to past use of drugs. In most cases it involved marijuana, although International Development Secretary Rory Stewart said he smoked opium at a wedding in Iran 15 years ago.

The contest’s winner will be chosen in a two-stage process. First, the 313 Conservative lawmakers will vote in a series of rounds starting Thursday, with the worst performers dropping out until only two candidates remain. The final two will be put to a postal vote among the 160,000 Conservative Party members in the country.

The favorite on betting markets is Johnson, a former foreign secretary with an instantly recognizable mop of blond hair and a knack for entertaining the public.

He says he will take Britain out of the bloc without a deal if necessary, and on Monday promised a tax cut for millions of middle- and high-income Britons.

Unlike the other candidates, Johnson hasn’t given television interviews or held any public events, as his campaign team tries to avoid gaffes that could spoil his front-runner status.

Several candidates appeared to take aim at Johnson in comments Monday.

“We won’t deliver Brexit with bluff and bluster,” said former Brexit Secretary Dominic Raab, who is competing with Johnson for the support of hardcore Brexiteers.

Hunt said the party needed a “serious leader.”

“We need tough negotiation, not empty rhetoric,” he said.

Gove took aim at Johnson’s backing for a no-deal Brexit, saying it could spell the end of the Conservative government.

“There would be a vote of confidence in the House of Commons that the government would lose,” Gove said. “We would have (opposition Labour Party leader) Jeremy Corbyn in Downing Street by Christmas.”

© The Associated Press. All rights reserved.