European GDPR was incorporated into the Data Protection act 2018 as an update to the Data Protection Act 1998.
However, UK GDPR became law on 1st January 2021 to replace the EU law after the end of the Brexit transition period.