Frederick VI of Denmark

Frederick VI of Denmark was king of Denmark from 1808 to 1839 and king of Norway from 1808 to 1814, but he started ruling before 1808 because his father was ill. He was one of Napoleon's allies. He passed laws that would later let Denmark have a parliament and he was firm in abolishing corruption in all levels of government. The places he ruled are now Denmark and Norway.
Family.
Frederick was the son of Christian VII and Caroline Mathilde, who was from Great Britain. He did not know either of his parents well. His father had mental health problems. Frederick was raised by his step-grandmother, Juliana Maria.
In 1790, Frederick married Marie Sophie Frederikke. She was from Hesse-Kassel. They raised their daughters as if there were a middle-class family instead of raising them as princesses at a court. They did not have any surviving sons.
Career.
In 1784, Frederick was given control of the government, even though he was still Crown Prince and not yet king. Frederick passed laws giving individual people more freedom. He passed laws making life easier for peasant farmers.
In 1807, Frederick became allies with Napoleon Bonaparte. After Napoleon lost, Frederick had to sign the Treaty of Kiel. This treaty gave Norway to Sweden.
In 1834, Frederick started four provincial assemblies. These groups of people would later become Denmark's Parliament.