In response to the ruling by the European Court of Human Rights in "HL v UK" (2004) (the 'Bournewood' judgment) the Act was amended by the Mental Health Act 2007 in July that year. These additions are known as the Deprivation of Liberty Safeguards (DoLS), and were implemented in April 2009. These amendments created administrative procedures to ensure the Act's processes are observed in cases of adults who are, or may be, deprived of their liberty in care homes or hospitals, thus protecting health and social care providers from prosecution under human rights legislation.