The article’s main image is of the Senedd’s red brick Pierhead clock with blue sky behind on a sunny day

The article’s main image is of the Senedd’s red brick Pierhead clock with blue sky behind on a sunny day

Leaving the European Union

Published 28/06/2024   |   Reading Time minutes

When the National Assembly for Wales met for the first time on 12 May 1999, the UK had been an EU Member State for over 26 years.

For the first 20 years, 8 months and 19 days of its 25-year history, the Senedd existed in the context of EU membership.

On 23 June 2016, Wales voted to leave the EU by a margin of 52.5% to 47.5%.

The referendum started the first phase of Brexit - a complex legislative process to extract a Member State from the EU for the first time. The second phase handled what came next – setting up a new UK-EU relationship that is still in its infancy today. While these two key phases were playing out at a UK-EU level, the UK put new domestic arrangements in place for its internal market, intergovernmental relations and for the EU law that remained on the statute books.

Leaving the EU significantly changed how law in Wales is made and how it works.

It turned off the automatic application of EU law and removed the duty on Ministers to comply. It meant that international law replaced EU law as the UK’s main source of external law. Ministers were empowered to make changes to the EU law that remained, while the UK Internal Market Act 2020 and common frameworks added another important dimension to the post-Brexit landscape.

For the first time in one place, we present a timeline of the process of leaving the EU at the Senedd. Each date on the timeline:

  • summarises a key development;
  • explains how it changed how law is made and how it works; and/or
  • confirms if the Senedd had a vote, and the vote results.
23 June 2016: Wales votes to leave EU

On 23 June 2016, UK voters were asked:

Should the United Kingdom remain a member of the European Union or leave the European Union?

In Wales, 854,572 voted to leave and 772,347 voted to remain – a 52.5% / 47.5% split in favour of leaving. Blaenau Gwent had the highest leave vote (62.0%) while Cardiff had the lowest leave vote (40.0%).

Turnout in Wales was 71.7% compared to 72.2% in the UK as a whole. Turnout was highest in Monmouthshire (77.8%) and lowest in Merthyr Tydfil (67.4%).

24 January 2017: Supreme Court rules UK Parliament should decide to trigger Article 50 (the “Miller” case)

The Supreme Court agrees that the UK Parliament (not the UK Government) should decide to trigger Article 50 of the Treaty of the EU. Doing so would notify the EU of the UK’s intention to leave and start a two-year countdown to exit.

The ruling was significant for devolution for two reasons:

  1. it unambiguously reaffirmed the principle of (UK) parliamentary sovereignty, dampening any notion of shared sovereignty with the devolved legislatures; and
  2. it left no doubt that the Sewel Convention is a political, and not a legal, convention, which therefore cannot be enforced by the courts.

Since Brexit, there’s been a significant increase in UK laws going ahead without devolved consent. It’s unknown to what extent the Miller ruling contributed to this.

16 March 2017: UK Parliament grants Prime Minister power to notify EU of UK’s intention to leave

No Senedd vote on consent took place.

The EU (Notification of Withdrawal) Act 2017 received Royal Assent on 16 March 2017. The Act has two clauses authorising the Prime Minister to notify the EU of the UK’s intention to leave.

29 March 2017: UK triggers Article 50, starting two-year countdown to EU exit

UK Prime Minister, Theresa May, notifies the European Council’s President, Donald Tusk, of the UK’s intention to leave the EU and Euratom. Invoking Article 50(2) of the Treaty on the EU starts a two-year countdown to the UK’s exit.

16 October 2017: UK’s governments agree to establish common frameworks in areas formerly coordinated or governed by EU

Common frameworks are agreements between the four governments of the UK on how to manage divergence between the four nations in areas previously governed or coordinated at EU level. Changes proposed to legislation by any of the four nations in one of 26 areas covered by a common framework should be discussed by the intergovernmental groups established by the relevant framework before a government introduces it to their legislature. This marks a significant change to law-making in the UK.

6 June 2018: Emergency law passed by the Senedd receives Royal Assent

Act passed in the Senedd on 21 March 2018.

Vote result: For 39, Against 13, Abstain 1.

The Law Derived from the European Union (Wales) Act 2018 started as an Emergency Bill introduced on 7 March 2018 by the then Cabinet Secretary for Finance, and former First Minister, Mark Drakeford MS.

The Act would:

  1. preserve EU law covering subjects devolved to Wales on the UK’s withdrawal from the EU;
  2. ensure legislation covering these subjects worked effectively after the UK left the EU;
  3. enable the Welsh Ministers to legislate to maintain regulatory alignment with the EU to facilitate continued access to the EU market for Welsh businesses;
  4. create a default position in law whereby the consent of the Welsh Ministers was required before any changes were made by UK Ministers to devolved legislation within the scope of EU law.

The Act would later be repealed on 22 November 2018 (see this date below on the timeline for more information).

Similar legislation in Scotland went ahead and received Royal Assent on 29 January 2021. The UK Withdrawal from the EU (Continuity)(Scotland) Act 2021 remains in force today.

26 June 2018: EU (Withdrawal) Act 2018 receives Royal Assent

A Senedd vote on consent took place and consent was granted on 15 May 2018.

Vote result: For 46, Against 9, Abstain 0.

The EU (Withdrawal) Act 2018 (EUWA18) has three main functions. It:

  1. repealed the European Communities Act 1972, through which EU law automatically applied in the UK;
  2. converted EU law to UK law on the day of the UK’s exit (11pm, 31 January 2020) and created a new category of UK law, retained EU law; and
  3. gave UK and Welsh Ministers temporary powers to deal with deficiencies so that the law functioned effectively.

EUWA18 amended the Government of Wales Act 2006 accordingly, including to remove the requirement for an Act of the Senedd to be compatible with EU law.

The Welsh Government originally recommended the Senedd withhold consent to the EU (Withdrawal) Bill. Following amendments and an intergovernmental agreement with the UK Government, the Welsh Government recommended the Senedd consent to the Bill.

22 November 2018: Welsh Government repeals emergency law

Following an intergovernmental agreement between the UK and devolved governments on the EU (Withdrawal) Bill and the establishment of common frameworks, the Welsh Government agreed to repeal the Law Derived from the EU (Wales) Act 2018.

The Law Derived from the European Union (Wales) Act 2018 (Repeal) Regulations 2018 came into effect on 22 November 2018. The regulations repealed the Act in its entirety.

17 October 2019: Withdrawal Agreement agreed between UK and EU

No Senedd vote on consent took place.

The Withdrawal Agreement is an international law treaty between the UK and EU. It deals only with the separation of the UK from the EU and Euratom.

International treaties are subject to a scrutiny process in the UK Parliament but this was disapplied for the Withdrawal Agreement by section 32 of the EU (Withdrawal Agreement) Act 2020.

The Withdrawal Agreement set out that the UK would enter a transition period when it left the EU while the terms of the UK-EU future relationship were negotiated. This would last from 1 February 2020 – 31 December 2020.  

The Withdrawal Agreement includes the Northern Ireland Protocol. It protects the rights of UK and EU citizens living in the territory of the other and sets out the UK’s financial obligations to the EU. It established governance arrangements to oversee its implementation. The Welsh and Scottish governments do not attend these meetings.

Parts of the Protocol were changed by the Windsor Framework in February 2023. Although the Protocol still exists, both agreements are often referred to together as the Windsor Framework.

23 January 2020: EU (Withdrawal Agreement) Act 2020 receives Royal Assent

A Senedd vote on consent took place and consent was withheld on 21 January 2020.

Vote result: For 15, Against 35, Abstain 0.

The EU (Withdrawal Agreement) Act:

  1. gives effect to the Withdrawal Agreement in domestic law; and
  2. dealt with other separation issues, like how EU law would apply in the UK during and after the transition period. One important example is that a new body of law, called retained EU law (REUL), would be created at the end of the transition period.

The Welsh Government recommended the Senedd withhold consent to the EU (Withdrawal Agreement) Bill.

31 January 2020: UK leaves EU and enters transition period

The UK left the EU at 11pm GMT on 31 January 2020 when the Withdrawal Agreement entered into force at midnight CET. This started the Brexit transition period which would end on 31 December 2020.

During the transition period, arrangements stayed mostly the same. For example, the UK stayed in the EU’s Single Market and customs union, contributed to the EU’s budget and continued to apply the EU’s laws and rules. However, the UK was no longer represented in EU institutions and it had no voting rights. The UK’s 73 MEPs, including four from Wales, vacated their seats on 31 January 2020.

The transition period started a countdown for the UK and EU to agree the terms of their post-Brexit relationship, which would start from 1 January 2021.

Negotiations continued throughout 2020 on what would later become the Trade and Cooperation Agreement, announced on 24 December 2020.

17 December 2020: UK Internal Market Act 2020 receives Royal Assent

A Senedd vote on consent took place and consent was withheld on 8 December 2020.

Vote result: For 15, Against 36, Abstain 0.

The UK Internal Market Act (UKIMA):

  1. establishes the presumption that (in general) goods, services and professional qualifications that can be sold or recognised in one part of the UK should be able to be sold or recognised in any other part, even if the law there is different;
  2. introduces “market access principles” for goods and services. These mean that, even if the Senedd passes a law to ban or regulate a particular product, it can only be enforced on something produced in Wales or imported directly into Wales from outside the UK. Anything that comes into Wales from another part of the UK doesn’t have to comply with this law if it falls within the scope of the Act, unless it is specifically excluded;
  3. establishes an Office for the Internal Market which can investigate the impact of legislation proposed or made by any of the four legislatures of the UK on the operation of the UK Internal Market; and
  4. places duties on Welsh Ministers in respect of the Northern Ireland Protocol and Northern Ireland’s place in the UK internal market.

UKIMA doesn’t affect the Senedd’s legislative competence but it does impact the practical effect of its laws once they are in force.

A key amendment was agreed during the Bill’s passage through the House of Lords which enables areas governed by a common framework to be excluded from the scope of the Act. However, only UK Government Ministers can add exclusions to the Act. Learn more from our summary of the Act.

The Welsh Government recommended the Senedd withhold consent to the Bill. 

24 December 2020: Trade and Cooperation Agreement (TCA) agreed between UK and EU

No Senedd vote on consent took place.

The TCA is an international treaty between the UK and EU. It deals only with their cooperation after Brexit.

It was agreed on 24 December 2020 and signed on 30 December 2020. It applied provisionally from 1 January 2021 and entered fully into force on 1 May 2021, after approval from the European Parliament and European Council.

Agreements on nuclear cooperation and the security of classified information were agreed alongside the TCA.

International treaties are subject to a scrutiny process in the UK Parliament but this was disapplied for the TCA by section 36 of the EU (Future Relationship) Act 2020.

31 December 2020: EU (Future Relationship) Act 2020 receives Royal Assent

No Senedd vote on consent took place.

The Senedd was recalled from Christmas recess on 30 December 2020 to debate the end of the transition period. A vote was held on a motion noting that the Senedd was not in a position to determine consent.

Motion vote result: For 28, Against 24, Abstain 0.

The Act:

  1. implements the TCA, the Civil Nuclear Agreement and the Security of Information Agreement, in domestic law;
  2. gives Welsh Ministers powers to implement the TCA in devolved areas;
  3. set procedures for the exercise of Welsh Ministerial powers at the Senedd; and
  4. made further provision relating to the UK-EU future relationship, including requiring all domestic legislation to be read in accordance with the TCA retrospectively.
31 December 2020: End of Brexit transition period

The Brexit transition period ended on 31 December 2020.

To minimise disruption and maintain the status quo, EU law as it was on this date was converted into domestic law, creating a snapshot in time of EU law. This new body of UK law was named retained EU law, or REUL.

In 2023, The UK Government would introduce legislation giving UK and Welsh Ministers wide ranging powers to make changes to REUL. This is the Retained EU Law (Revocation and Reform) Act 2023.

1 January 2021: New UK-EU relationship takes effect

The TCA and accompanying agreements applied provisionally from 1 January 2021 and entered fully into force on 1 May 2021, after approval from the European Parliament and European Council.

The Welsh Government published analysis of the implications of the new UK-EU relationship for Wales and Welsh businesses on 12 February 2021.

1 May 2021: TCA enters fully into force

The TCA entered fully into force on 1 May 2021, after approval from the European Parliament and European Council.

13 June 2022: Northern Ireland Protocol Bill introduced, and later paused

A Senedd vote on consent took place and consent was withheld on 22 November 2022.

Vote results: For 15, Against 35, Abstain 0.

The Northern Ireland Protocol is part of the Withdrawal Agreement, an international treaty between the UK and EU.

The Bill would:

  1. disapply parts of the Northern Ireland Protocol and the Withdrawal Agreement in domestic law;
  2. empower UK Ministers to disapply more parts in future and to put new arrangements in place without the EU’s input or consent;
  3. enable UK Ministers to pass on their regulation-making powers to Welsh Ministers; and
  4. allow UK Ministers to determine scrutiny arrangements at the Senedd.

The Welsh Government recommended the Senedd withhold consent to the Bill. The Bill’s scrutiny led to unprecedented debate on the role of international law at the Senedd and how it should respond.

The Bill did not proceed as a condition of the Windsor Framework.

27 February 2023: Windsor Framework agreed between UK and EU

No Senedd vote on consent took place.

The Windsor Framework changed parts of the Northern Ireland Protocol in relation to trade, the UK’s internal market, and Northern Ireland’s say in decision-making.

The UK Government agreed not to proceed with the Northern Ireland Protocol Bill. The EU agreed:

The Framework is credited with improving UK-EU relations and was generally welcomed by the Welsh Government despite it not having been consulted on the changes. The Welsh Government would later consent to UK regulations to implement the Framework.

Learn more in our article, Wales and the Windsor Framework.

29 June 2023: Retained EU Law (Revocation and Reform) Act 2023 receives Royal Assent

Two Senedd votes on consent took place and consent was withheld on 28 March 2023 and 6 June 2023.

Result of first vote: For 13, Against 38, Abstain 0.

Result of second vote: For 17, Against 36, Abstain 0.

To minimise disruption when exiting the EU, the UK converted EU law to domestic law and called it retained EU law (REUL). This meant that pre-Brexit laws stayed in place with the aim of avoiding gaps in important areas like product standards, animal welfare and employment law. REUL became a distinct body of law but there are different views on what should be done with it.

The Act puts some of the UK Government plans for REUL into place and grants powers to UK and Welsh Ministers to make future changes.

The Welsh Government recommended the Senedd withhold consent to the Bill in all five of its Legislative Consent Memorandums (LCMs). LCMS are laid in the Senedd when a UK Bill covers policy areas devolved to Wales. Members then vote on whether or not the Senedd should give consent for the UK Parliament to legislate on its behalf.

The Act:

  1. revoked some REUL so it expired on 31 December 2023. This is the 587 items of REUL listed on Schedule 1, EU-derived rights, the principle of supremacy and general principles of EU law;
  2. renamed remaining REUL “assimilated law” from 1 January 2024;
  3. grants UK and Welsh Ministers powers to amend, repeal and replace REUL and assimilated law more easily;
  4. grants UK and Welsh Ministers powers to recreate the effect of REUL supremacy to a limited extent in relation to specific instruments;
  5. provides domestic courts with greater discretion to depart from REUL case law; and
  6. repealed the Business Impact Target as part of other regulatory reforms.

There is no requirement on the UK Government to obtain consent from the Welsh Ministers, nor the Senedd, when making changes in devolved areas.

The UK Government’s programme of REUL/assimilated law reform is ongoing and an informal consent arrangement is in place whereby the Welsh Government’s consent is sought, regardless. The Welsh Ministers have informally granted consent on this basis to UK regulations making changes in devolved areas, like the environment. To date, single statutory instruments have been used to revoke up to 93 pieces of REUL at a time.

Learn more on our webpage, The Retained EU Law Act: where are we now?

31 January 2024: Safeguarding the Union Command Paper published

No Senedd vote on consent took place.

The Northern Ireland Executive was sworn into office for the first time in two years on 3 February 2024. This followed publication of the Safeguarding the Union Command Paper by the UK Government on 31 January and new regulations passed on 1 February. These make changes to address the Democratic Unionist Party’s (DUP) concerns about the Windsor Framework.

Safeguarding the Union:

  • established new NI-GB governance structures;
  • changed trade rules to incentivise and boost NI-GB trade; and
  • provided over £3 billion to the Northern Ireland Executive to address public sector pay pressures and provide an updated Barnett formula for Northern Ireland.

One regulation extended the UK Internal Market Act (UKIMA) 2020’s market access principles to goods from NI. It requires UK Ministers to issue guidance on how to comply with the duty in section 46 of UKIMA to have special regard to NI’s place in the UK internal market and customs territory. Devolved ministers must now have regard to this guidance when carrying out relevant functions.

Learn more in our article, Wales and Safeguarding the Union.


Article by Sara Moran, Senedd Research, Welsh Parliament