Karl XII was born on 17 June 1682 at Tre Kronor Castle in Stockholm, the son of King Karl XI and Queen Ulrika Eleonora. Of the royal couple's seven children, only he and two sisters lived to adulthood. His father died on 5 April 1697, and that autumn, on 8 November, the Estates declared the young king of age. On 14 December 1697 he was crowned in Storkyrkan in Stockholm.
In 1700 Sweden was attacked by an alliance of Denmark, Saxony-Poland and Russia, which opened the Great Northern War, lasting until 1721. Karl XII led his armies in person and won at Narva, but in 1709 his campaign in Russia ended in defeat at Poltava. He then crossed into the Ottoman Empire and set up camp at Bender, returning to Swedish Pomerania only in 1714. He died on 30 November 1718 during the siege of Fredriksten fortress at Fredrikshald in Norway. The king never married, and the throne passed to his sister Ulrika Eleonora. He was laid to rest on 26 February 1719 in Riddarholmskyrkan.
