The Dano-Hanseatic War from 1426-1435  was an armed trade conflict between the Danish dominated Kalmar Union  and the German Hanseatic League  led by the Free City of Lübeck. When Danish king Eric opened the Baltic trade routes for Dutch ships and introduced a new toll for all foreign ships passing the Øresund , six Hanseatic cities  declared war, put a naval blockade on Scandinavian harbours and allied with Eric's enemy Henry IV, count of Holstein. Therefore the war was intensively linked with the Dutch-Hanseatic War , the Kalmar War with Holstein  and the Swedish revolt . After years of changing fortune in warfare Rostock and Stralsund signed a separate peace agreement in 1430. Lübeck, Hamburg, Wismar and Lüneburg, however, continued the war and assisted Holstein to conquer Flensburg in 1431. Thereafter they agreed an armistice in 1432 and started peace negotiations. Meanwhile an anti-Danish revolt broke out in Sweden . In 1434 Eric had to agree an armistice with the Swedes, too. In April 1435 he signed the peace of Vordingborg with the Hanseatic League and Holstein, followed by the peace of Stockholm with Sweden a few months later the same year. The Hanseatic cities were excepted from the Sound Dues but they had to accept Dutch competition in the Baltic trade. The Danish Duchy of Schleswig was ceded to the count of Holstein. Sweden's autonomous rights and privileges were extended. These peace agreements weakened Eric's position dramatically, and in 1439 he got dethroned by Danish, Swedish and Norwegian Privy Councils.. How many years after Flensburg was conquered was an armistice agreed to?