Bill passed to extend Brexit deadline to January 2020
Queen Elizabeth is expected to pass the bill into law on Monday.
The House of Lords has approved the bill which will delay the Brexit deadline by three months, should there be no deal in place with the EU by Saturday 19 October.
The current Brexit deadline is Thursday 31 October, but the new bill will have that pushed back to Friday 31 January.
It will now proceed to "royal assent" which is when the queen passes it into law, which is expected to happen by Monday.
UK PM Boris Johnson is looking to hold a snap election on Tuesday 15 October, before the EU summit on October 17 and 18, with the hope that the snap poll will allow the government to just "get on" with delivering Brexit for Halloween.
However, BBC News reports that the UK opposition parties have all agreed to not support Boris Johnson's demand for this general election before the EU summit.
Labour, the Lib Dems, the SNP, and Plaid Cymru have all said that they will vote against the government or abstain in Monday's vote on whether to hold a snap poll.
In response, Boris Johnson said the parties were making an "extraordinary political mistake".