Her Majesty the Queen has formally signed the highly contested European Union (EU) Withdrawal Bill into law, bringing Brexit one step closer.

It was finally granted Royal Assent after hundreds of amendments, sabotage attempts in the House of Lords, and one Commons defeat. Lawyers For Britain said that “Brexit is now enshrined in law.”

To cheers in the lower house, Tory Speaker John Bercow announced to MPs that the Royal Assent had been granted on Tuesday.

Former UKIP leader Nigel Farage responded by tweeting “Hooray!” David Kurten, a UKIP member of the London Assembly, hailed it as a “great news”. The party’s official Twitter account called it “the end of the beginning.”

The European Union Withdrawal Bill has been given Royal Assent. Hooray! — Nigel Farage (@Nigel_Farage) June 26, 2018

The EU Withdrawal Bill receives Royal Assent. The end of the beginning. — UKIP (@UKIP) June 26, 2018

The key piece of legislation will bring huge amounts of EU laws into British law and set Brexit day firmly on the 29th of March next year.

The act also paves the way for the repealing of the 1972 European Communities Act, which underpins EU membership.

The piece of law took the UK into the EU and meant that, for the first time, European law became superior to laws passed in the British Parliament.

Theresa May told ministers it was a “historic moment for our country and a significant step towards delivering on the will of the British people”, according to her spokesman.

The Prime Minister thanked Brexit Secretary David Davis, Lords leader Baroness Natalie Evans, and Chief Whip Julian Smith “for all their hard work in delivering the legislation which is a major building block for the UK’s bright future outside of the EU”.

No 10 said it was “very clear the Cabinet was pleased that the Bill was receiving Royal Assent today”.

The EU withdrawal Bill passed with very little amendment and will receive Royal Assent tonight. Thank God. Bring on the Trade Bill so we can now talk about our great future and people can see what #Brexit will look like. https://t.co/e6rYsRqqUX — Nadine Dorries (@NadineDorries) June 20, 2018

Other key moments for Brexit to follow include the Customs Bill, Trade Bill, Immigration Bill, Fisheries Bill, and Agriculture Bill, with Parliament promised a “meaningful say” in the final deal.