So we now have for the first time a deal that most of the House of Commons supports.
But it is unlikely to become law in time for the UK to Leave the EU by 31 October.
Frankly almost anything could happen – a no confidence vote, a general election or, if the prime minister is right, a no-deal Brexit.
Sky’s political correspondent Lewis Goodall reports.
SUBSCRIBE to our YouTube channel for more videos: http://www.youtube.com/skynews
Follow us on Twitter: https://twitter.com/skynews
Like us on Facebook: https://www.facebook.com/skynews
Follow us on Instagram: https://www.instagram.com/skynews
For more content go to http://news.sky.com and download our apps: