When Sweden finally was at peace with Hanover, Great Britain, Brandenburg-Prussia and Denmark–Norway, it hoped that the anti-Russian sentiments of the Vienna parties and France would culminate in an alliance that would restore its Russian-occupied eastern provinces. Yet, primarily due to internal conflicts in Great Britain and France, that did not happen. Therefore, the war was finally concluded by the Treaty of Nystad between Russia and Sweden in Uusikaupunki ("Nystad") on 30 August 1721 (OS). Finland was returned to Sweden, while the majority of Russia's conquests (Swedish Estonia, Livonia, Ingria, Kexholm and the bulk of Karelia) were ceded to the tsardom. Sweden's dissatisfaction with the result led to fruitless attempts at recovering the lost territories in the course of the following century, such as the Russo-Swedish War (1741–1743), and the Russo-Swedish War (1788–1790).