Theresa May has caved in to Tory rebels in an eleventh-hour climbdown on the government’s flagship Brexit legislation.
In a key victory for pro-EU backbenchers, the government opened the door to MPs taking control of the negotiations if ministers fail to strike a deal in Brussels.
The revolt appeared to be called off only after Robert Buckland, the solicitor general, agreed that there was "merit" in plans to allow MPs to vote on the proposed Brexit strategy and said his would be the basis of further discussions with rebels.
The rebels want MPs to be given a vote on the next steps if there is no deal by the end of November. It is unclear whether ministers will agree to that time limit, which is likely to be proposed in a further amendment to be tabled in the House of Lords.
Nevertheless, for the first time, Theresa May appeared to be entertaining the idea of a deadline for success in the talks.
In total, the government hoped to overturn 14 amendments made in the Lords to the EU (Withdrawal) Bill, but there was a risk of a Tory rebellion on a series of knife-edge votes.
See below for live updates
Live Updates

‘Murdoch can get stuffed’: MPs vow to defy ‘bullying and threatening’ newspaper headlines on Brexit vote
The Sun’s front page says that MPs 'have a choice', adding: 'Great Britain or Great Betrayal'This had sought to give greater powers to the "sifting committee", which would be established to decide whether statutory instruments proposed by ministers to amend retained EU law after Brexit would require a Commons vote.

Tory minister quits over Brexit on day of crucial EU withdrawal votes
The ex-minister said 'I cannot, in all good conscience, support how our country’s current exit from the EU looks'"This is just a cover for the reversal of the decision, and I do find it quite extraordinary that there should be some attempt to throw it back to the House of Lords."