Niels ( – 25 June 1134) was the King of Denmark from 1104 to 1134. Niels succeeded his brother Eric Evergood and is presumed to have been the youngest son of King Sweyn II Estridson. King Niels actively supported the canonization of Canute IV the Holy and supported his son Magnus after he killed his rival for the succession, Knud Lavard. His secular rule was supported by the clergy. Niels was killed in an ensuing civil war and succeeded by Eric II Emune.

Early life

Niels was born around 1063, married in 1105, and died in 1134. His parents were King Sweyn II Estridson and an unknown concubine. Four of Niels' brothers ascended the throne before him. He is first mentioned in history in 1086 when he was sent to Flanders to take the place of his exiled brother, King Olaf I. When his brother Eric Evergood died in July 1103 during a pilgrimage, Niels, who was the last surviving brother, was elected king the following year ahead of Evergood's chosen deputy Harald Kesja. He married Margaret Fredkulla, the daughter of Inge I of Sweden. She was believed to have wielded considerable influence during his reign. responsible for tax collection.

Civil war

His wife, Margaret, died in 1128 or 1129, After 26 years of internal peace, conflict erupted between Magnus and his cousin Canute Lavard. Canute was popular in the Duchy of Schleswig where he was jarl and was seen as a potential successor to Niels. Niels escaped, while Magnus was slain.