Prime Minister Theresa May won the backing of her senior ministers for a draft European Union divorce deal on Wednesday, freeing her to tackle the much more perilous struggle of getting parliament to approve the agreement, Reuters reported.

May told reporters outside her Downing Street residence that she had won over her divided cabinet, which includes some senior Brexiteers.

“The collective decision of cabinet was that the government should agree the draft withdrawal agreement and the outline political declaration,” she said, after a five-hour meeting.

Speaking over protesters shouting anti-Brexit slogans from the end of Downing Street, she said the deal, 585 pages long, was the best that could be negotiated.