Political parties are gearing up for a general election campaign after MPs voted for a 12 December poll.
The legislation approved by MPs on Tuesday will later begin its passage through the House of Lords, where it is not expected to be opposed.
Boris Johnson says he is ready to fight a “tough” general election.
Labour leader Jeremy Corbyn said the snap poll gave a “once-in-a-generation” opportunity to transform the country.
But Mr Johnson hopes the vote will give him a fresh mandate for his deal to leave the EU and break the current deadlock in Parliament.