(BBC) The Illegal Migration Bill is set to become law after the government won a final series of votes in the Lords.
The legislation is central to the prime minister’s pledge to stop small boats crossing the English Channel.
Under the bill, the home secretary has a legal duty to detain and remove anyone entering the UK illegally.
In a late-night debate in the House of Lords, peers rejected attempts to reinsert time limits on child detention and modern slavery protections.
The bill will now go for royal assent and become law.