In 1275 Valdemar was overthrown by his brother Magnus I (Magnus Ladulås) with the help of a Danish army. In 1280 a law was accepted establishing freedom from taxes for magnates who served as members of the king’s cavalry, creating a hereditary nobility; the following year Magnus Ladulås exempted the property of the church from all taxes. Under Magnus’s reign the position of jarl disappeared and was replaced by the drots (a kind of vice king) and the marsk (marshall), together with the established kansler (chancellor). The export of silver, copper, and iron from Sweden increased trade relations with Europe, especially with the Hanseatic cities.
Magnus died in 1290 and was succeeded by his 10-year-old son, Birger. The regency was dominated by the magnates, especially by the marsk, Torgils Knutsson; even after Birger’s coronation in 1302, Torgils retained much of his power. The king’s younger brothers Erik and Valdemar, who were made dukes, attempted to establish their own policies and were forced to flee to Norway (1304), where they received support from the Norwegian king; the following year the three brothers were reconciled. A new political faction was created by the leaders of the church, whom Torgils had repressed, together with a group of nobles and the dukes, and in 1306 the marsk was executed. Birger then issued a new letter of privileges for the church, but his brothers captured and imprisoned him. Two years later the kings of Denmark and Norway attacked Sweden on his behalf. Birger was again recognized king of Sweden at a peace concluded in 1310 with Denmark and Norway, but he was forced to transfer half of the kingdom to his brothers as fiefs. Erik’s territory, together with his earlier acquisitions, then consisted of western Sweden, northern Halland, southern Bohuslän, and the area around Kalmar and stretched across the borders of the three Scandinavian kingdoms. In 1312 the dukes married two Norwegian princesses, increasing their power and dynastic position; but in December of 1317 the dukes were imprisoned by their brother following a family dinner, and they died in prison. The nobility rebelled against Birger, who was forced to flee to Denmark in 1318, and the king’s son was executed. Code of law
The magnates now seized control of Sweden and reasserted their power to elect a king. They chose Magnus, the three-year-old son of Duke Erik, who had shortly before inherited the crown of Norway. In connection with the election, the privileges of the church and the nobility were confirmed, and the king was not to be allowed to raise taxes without the approval of the council and the provincial assemblies. The magnates now revised the laws of Svealand and, by the Treaty of Nöteborg (1323), established the Finnish border with Russia. The Danish province of Skåne was bought and put under the Swedish king; by 1335 Magnus ruled over Sweden, including Skåne and Blekinge, Finland, and Norway, to which he soon added Halland. During Magnus’s reign a national law code was established (c. 1350), providing for the election of the king, preferably from among the royal sons, and a new town law code was written that gave the German merchants considerable privileges. In 1344 Magnus’s elder son Erik was elected heir to the Swedish throne, one year after his younger brother Haakon received the crown of Norway. Erik made common cause with the nobility and his uncle, Albert of Mecklenburg, against his father; and in 1356 Magnus was forced to share the kingdom with his son, who received Finland and Götaland. Two years later Erik died, and the kingdom was again united under Magnus’s rule.
In his struggles with the nobles, Magnus received the support of the Danish king, Valdemar Atterdag, and in 1359 Magnus’s son Haakon of Norway was engaged to Valdemar’s daughter Margaret. The following year Valdemar attacked Skåne, and Magnus relinquished Skåne, Blekinge, and Halland in return for Valdemar’s promise of help against Magnus’s Swedish enemies. In 1361 Valdemar attacked Gotland and captured Visby, an important Baltic trading centre. Haakon, who had been made king of Sweden in 1362, and Margaret were married in 1363. Magnus’s opponents among the nobility went to Mecklenburg and persuaded Duke Albert’s son, also named Albert, to attack Sweden; Magnus was forced to flee to Haakon’s territory in western Sweden. In 1364 the Folkung dynasty was replaced by Albert of Mecklenburg (1363–89). Albert joined in a coalition of Sweden, Mecklenburg, and Holstein against Denmark and succeeded in forcing Valdemar Atterdag from his throne for several years. Albert was not as weak as the nobles had hoped, and they forced him to sign two royal charters stripping him of his powers (1371 and 1383). At the end of the 1380s Albert had plans to reassert his power, primarily by recalling the royal lands that had been given to the nobles; in 1388 the Swedish nobles called upon Margaret, now regent of Denmark and Norway, for help. In 1389 her troops defeated and captured Albert, and she was hailed as Sweden’s ruler. Albert’s allies harried the Baltic and continued to hold out in Stockholm, and it was only in 1398 that Margaret finally won the Swedish capital. In 1396 her great-nephew Erik of Pomerania, then about age 16, became nominal king of Sweden, and the following year he was hailed and crowned king of Sweden, Denmark, and Norway, marking the beginning of the Kalmar Union. The Kalmar Union
Sweden had entered the Kalmar Union on the initiative of the noble opponents of Albert of Mecklenburg. After Margaret’s victory over Albert and his allies, the national council announced its willingness to return those royal estates that had been given to its members during Albert’s reign, and Margaret succeeded in carrying out the recall of this property. She remained popular with the Swedes throughout her reign, but her successor, Erik, who took real power after her death in 1412, appointed a number of Danes and Germans to administrative posts in Sweden and interfered in the affairs of the church. His bellicose foreign policy caused him to extract taxes and soldiers from Sweden, arousing the peasants’ anger. His war with Holstein resulted in a Hanseatic blockade of the Scandinavian states in 1426, cutting off the import of salt and other necessities and the export of ore from Sweden, and led to a revolt by Bergslagen peasants and miners in 1434. The rebel leader, Engelbrekt Engelbrektsson, formed a coalition with the national council; in 1435 a national meeting in Arboga named Engelbrekt captain of the realm. Erik agreed to change his policies and was again acknowledged as king of Sweden by the council. Erik’s agreement was not fulfilled to the Swedes’ satisfaction, however, and in 1436 a new meeting at Arboga renounced allegiance to Erik and made the nobleman Charles (Karl) Knutsson captain of the realm along with Engelbrekt. Soon after, Engelbrekt was murdered by a nobleman; Charles Knutsson became the Swedish regent, and in 1438 the Danish council deposed Erik, followed in 1439 by the Swedish council.
The Danish council elected Christopher of Bavaria as king in 1440, and Karl Knutsson gave up his regency, receiving, in return, Finland as a fief, whereupon the Swedish council also accepted Christopher. He died in 1448 without heirs, and Charles Knutsson was elected king of Sweden as Charles VIII of Sweden. It was hoped that he would be accepted as the union king, but the Danes elected Christian of Oldenburg. The Norwegians chose Charles as king, but a meeting of the Danish and Swedish councils in 1450 agreed to give up Charles’s claims on Norway, while the councils agreed that the survivor of Charles and Christian would become the union king or, if this was unacceptable, that a new joint king would be elected when both were dead. Charles refused to accept this compromise, and war broke out between the two countries. In 1457 the noble opposition, led by Archbishop Jöns Bengtsson Oxenstierna, rebelled against Charles, who fled to Danzig. Oxenstierna and Erik Axelsson Tott, a Danish noble, became the regents, and Christian was hailed as king of Sweden. Christian increased taxes, and in 1463 the peasants in Uppland refused to pay and were supported by Oxenstierna, whom Christian then imprisoned. The bishop of Linköping, a member of the Vasa family, led a rebellion to free the archbishop, and Christian’s army was defeated. Charles was recalled from Danzig (now Gdansk, Poland) and again became king, but within six months difficulties between him and the nobles, especially Oxenstierna and the bishop of Linköping, forced him to leave the kingdom. Oxenstierna served as regent from 1465 to 1466 and was succeeded by Tott; the battles between the two families led to the recall of Charles, who ruled from 1467 to his death in 1470.