LONDON — British lawmakers on Tuesday rose up against Prime Minister Boris Johnson, moving to prevent him from taking the country out of the European Union without a formal agreement. The epic showdown pushed Britain to the verge of a new election.
After losing his first-ever vote as prime minister, Mr. Johnson stood up in Parliament and said he intended to present a formal request for a snap general election to lawmakers, who would have to approve it.
A little over a month ago, Mr. Johnson, a brash, blustery politician often compared to President Trump, swept into office with a vow to finally wrest Britain from the European Union by whatever means necessary, even if it meant a disorderly, no-deal departure.
Now, Parliament has pulled the rug out from under him, and Mr. Johnson is at risk of falling into the same Brexit quagmire that dragged down his predecessor as prime minister, Theresa May.
The lawmakers forced his hand by voting by 328 to 301 to take control of Parliament away from the government and vote on legislation as soon as Wednesday that would block the prime minister from making good on his threat of a no-deal Brexit.
That prompted an angry response from the prime minister.
“I don’t want an election, the public don’t want an election, but if the House votes for this bill tomorrow, the public will have to choose who goes to Brussels on Oct. 17 to sort this out and take this country forward,” Mr. Johnson said, referring to the next European Union summit.
Tuesday was a critical moment in Britain’s tortured, three-year effort to extract itself from the European Union. The saga has divided Britons, torn apart the ruling Conservative Party and prompted complaints that Mr. Johnson has trampled the conventions of the country’s unwritten constitution.