British Prime Minister Theresa May is defying demands to quit as she battles to keep control of her fractious government long enough to deliver a Brexit deal that has drawn ire from across the political spectrum.

Facing a revolt over her proposed exit agreement with the European Union, May said she would stay in office because the public expects her to see through their 2016 vote to leave the bloc in an orderly way.

But she has a major battle on her hands with adversaries inside her Conservative Party and could be fighting a formal leadership challenge within days. If that happens and May is forced out, the U.K. will be just four months away from leaving the EU with no sign of an agreement on the terms of a split, a deepening political crisis and the prospect of financial markets and the economy going into a tailspin.