London: Legislation to begin the process of transferring European Union law into British law will be presented to parliament next week, Prime Minister Theresa May’s spokesman said on Tuesday.

The spokesman said Brexit minister David Davis had given colleagues an update on the “Repeal Bill”, which will shift EU legislation into British law as part of the Brexit process, at a weekly meeting of May’s top team of ministers.

“He said the legislation, which is the start of the legislative process for Brexit, is expected to be tabled next week,” the spokesman told reporters.

Tens of thousands of EU-related laws have made their way onto the British statute book during more than 40 years of membership of the bloc and unpicking that complex legislative web is likely to take many years.

The repeal bill, which the government says will help achieve a smooth transition as Britain leaves the EU, will transpose EU law and repeal the 1972 European Communities Act which formalises Britain’s EU membership.

It will also give parliament the power to change existing laws to make sure they work after Brexit.

Meanwhile, a lawmaker from the ruling Conservative Party, pleaded not guilty on Tuesday to charges of making false declarations over his spending in a 2015 election.

Craig MacKinlay, who beat leading Brexit figure Nigel Farage in the parliamentary election for the South Thanet in southeastern England in 2015, is accused of making false claims about his spending during the campaign.

Despite the ongoing case against him, he won the seat again in this year’s June election.

May’s Conservatives lost their majority in that ballot and remain in power only through an agreement with 10 Northern Ireland MPs. If MacKinlay were to lose his court case, there would be pressure for a by-election.

MacKinlay’s election agent Nathan Gray and aide Marion Little, who also face charges over the expenses, also pleaded not guilty in a London court.

Farage, the former head of Britain’s UK Independence Party (Ukip), came second in South Thanet in 2015, polling 16,026 votes with MacKinlay taking 18,838 votes.

MacKinlay retained the seat in June with an increased majority of more than 6,000 votes as support for Ukip collapsed with Farage, who played a key role in securing Britain’s vote to leave the European Union last year, no longer the party’s candidate.

In May, prosecutors ruled out bringing more widespread criminal charges over allegations of expenses fraud by the Conservatives during the 2015 campaign.

The Crown Prosecution Service had considered information from 14 police forces across the country about whether the party had broken spending limits, which are governed by tight, complex rules, but decided there was insufficient evidence to charge any individuals.

The Electoral Commission, the independent election watchdog, in March fined the Conservatives a record 70,000 pounds ($91,000) for breaking rules by incorrectly reporting its spending.