The Swedish War of Liberation (1521–23) Swedish: Befrielsekriget, ("The Liberation War"), was a rebellion and a civil war in which the Swedish nobleman Gustav Vasa successfully deposed the Danish-Norwegian king Christian II as regent of the Kalmar Union in Sweden. The war started in January 1521 when Gustav Vasa was appointed hövitsman (commander) over Dalarna by representatives of the population in the northern part of the province. After Gustav Vasa sacked the copper mine of Kopparberg and the town of Västerås, more men joined his army. In 1522, the Hanseatic city of Lübeck allied with the Swedish rebels. After the capture of Stockholm in June 1523, the rebels effectively controlled Sweden, and on 6 June Gustav Vasa was elected King of Sweden in the town of Strängnäs. By September, Swedish Finland was also controlled by Gustav Vasa's supporters. By the Treaty of Malmö signed on 1 September 1524, Sweden seceded from the Kalmar Union.