Margaret I of Denmark child Olaf II of Denmark
Regency
Her first act after her father's death in 1375 was to procure the election of her infant son Olaf as king of Denmark, despite the claims of her elder sister Ingeborg's husband Duke Henry III of Mecklenburg and their son Albert. Margaret insisted that Olaf be proclaimed rightful heir of Sweden, among his other titles. He was too young to rule in his own right, and Margaret proved herself a competent and shrewd ruler in the years that followed.  On the death of Haakon in 1380, Olaf succeeded him as King of Norway. Olaf died suddenly in 1387, aged 17, and Margaret, who had ruled both kingdoms in his name, was chosen Regent of Norway and Denmark in the following year. She had already proven her keen statesmanship by recovering possession of Schleswig from the Holstein-Rendsburg Counts. The Counts had held it for more than a generation and received it back as a fief by the Compact of Nyborg in 1386, but under such stringent conditions that the Danish Crown received all the advantages of the arrangement. By this compact, the often rebellious Jutish nobility lost the support they had previously enjoyed in Schleswig and Holstein. Margaret, free from fear of domestic sedition, could now give her undivided attention to Sweden, where mutinous nobles, led by Birger (son of Bridget and brother of Martha), were already in arms against their unpopular King Albert. Several of the powerful nobles wrote to Margaret that if she would help rid Sweden of Albert, she would become their regent. She quickly gathered an army and invaded Sweden.
At a conference held at Dalaborg Castle in March 1388, the Swedes were compelled to accept all of Margaret's conditions, elected her "Sovereign Lady and Ruler", and committed themselves to accept any king she chose to appoint. Albert, who had called her "King Pantsless" returned from Mecklenburg with an army of mercenaries.  On 24 February 1389, the decisive battle took place at either Aasle or Falan near Falköping. General Henrik Parow, the Mecklenburger commander of Margaret's forces, was killed in battle, but he managed to win it for her. Margaret was now the omnipotent mistress of three kingdoms.Stockholm, then almost entirely a German city, still held out.  Fear of Margaret induced both the Mecklenburg princes and the Wendish towns to hasten to its assistance; and the Baltic and the North Sea speedily swarmed with the privateers of the Victual Brothers.  The Hanseatic League intervened, and under the Compact of Lindholm (1395), Margaret released Albert on his promise to pay 60,000 marks within three years. Meanwhile, the Hansa were to hold Stockholm as surety. Albert failed to pay his ransom within the stipulated time, and the Hansa surrendered Stockholm to Margaret in September 1398 in exchange for commercial privileges.
offspring progeny issue descendant heir