Frederick VI served as regent for his mentally ill father, Christian VII, who was declared insane in 1788. Frederick VI had already been acting as regent for his father since 1784, and he continued to serve in this role until Christian VII's death in 1808.
Untangling the Enigma: The Fascinating Reign of Frederick VI of Denmark