Melatonin was discovered in 1958. It is sold over the counter in Canada and the United States; in the United Kingdom, it is a prescription-only medication. It is not approved by the US Food and Drug Administration (FDA) for any medical use. In Australia and the European Union, it is indicated for difficulty sleeping in people over the age of 54. In the European Union, it is indicated for the treatment of insomnia in children and adolescents. It was approved for medical use in the European Union in 2007.