Ulrik Frederik Gyldenløve, Count of Laurvig (20 July 1638 – 17 April 1704) was Governor-general of Norway (Stattholdere i Norge) from 1664–1699. He was the leading general in Norway during the Scanian War, whose Norwegian leg is conventionally named the Gyldenløve War after him. Early life Gyldenløve was born in Bremen, Germany, the illegitimate son of Prince Frederick, later King Frederick III of Denmark, who was at the time Prince-Archbishop of Bremen and coadjutor of the Bishopric of Halberstadt. His mother was Margrethe Pape, (1620–1684) who was made Baronesse of Løvendal by King Christian IV on September 15 that same year. When his father became King of Denmark-Norway in 1648, Ulrik Frederik assumed the surname Gyldenløve which was used by illegitimate sons of Danish kings. During the first half of the 1650s, he traveled in Europe, visiting France, Italy and Spain. He attended the University of Siena in 1654 and in Rome in 1655. On 21 August 1655 he became a naturalised Danish noble. Military career In 1661, he was put in charge at Vordingborg and appointed commander Kalø Castle in Århus. In 1657 he became colonel in Norway. Gyldenlove participated in the Dano-Swedish War (1658–1660), where he distinguished himself in the Battle of Nyborg on 14 November 1659. Civil career and holdings in Norway In 1664 Gyldenløve was appointed viceroy (Statholder) of Norway, replacing Iver Krabbe (1602- 1666). He studied conditions in Norway very carefully, and became a strong advocate for many important reforms, such as a simplified tax system and the establishment of a Court of appeals in Norway separate from the one in Denmark. He is also remembered for his role in the construction and improvement of nine fortresses along the Swedish border. Gyldenløve took part in the 17th-century Dano-Swedish wars where he was particularly successful at the Battle of Nyborg on 14 November 1659. In 1666, he became commander-in-chief of the Norwegian army which was victorious in the Scanian Wars (1675–1679). Gyldenløve implemented the reforms initiated by the prior Governor-general Hannibal Sehested (1609–1666) effecting taxation, defence and justice and protection for tenant farmers. He was also active in Danish politics from 1670 in association with Peder Griffenfeld (1635–1699) who served as Chancellor of Denmark. In 1671, Gyldenløve founded the city of Laurvig (modern-day Larvik), and was named Count of Laurvig. In Larvik, he is remembered for the construction of Larvik Church (Larvik kirke), its main church