Gender Recognition Act 2004
The Gender Recognition Act 2004 (c. 7) is an act of the Parliament of the United Kingdom that allows adults in the United Kingdom who have gender dysphoria to change their legal gender.
Source: Wikipedia — Gender Recognition Act 2004 (CC BY-SA 4.0)