It was longer than Prime Minister Theresa May had hoped for — she proposed June 30, which many found unrealistic. European leaders agreed to review the arrangement at the end of June.

At a news conference after a long night of negotiations, Donald Tusk, the European Council president, said the two sides had agreed to what he called “a flexible extension.”

What it means: Britain will almost certainly have to hold elections for the European Parliament on May 23 — something Mrs. May once argued would be absurd, given that Britons voted to leave almost three years ago. That prospect will likely anger hard-line Brexit supporters.

The path ahead, as you’ve probably guessed, remains a minefield.