Following the Congress of Vienna and the 1815 Treaty of Paris, Austria's coastline was restored. Under the conditions of the Congress of Vienna, the former Austrian Netherlands were transferred to the newly created United Kingdom of the Netherlands, while Austria received Lombardy-Venetia as compensation. These territorial changes gave Austria five ships of the line, two frigates, one corvette, and several smaller ships which had been left in Venice by the French during the Napoleonic Wars. The decades of warfare Austria had participated in since 1789 however had left the Empire on the verge of bankruptcy, and most of these ships were sold or abandoned for financial reasons.