Between 1797 and 1809, the First French Empire gradually occupied the entire eastern Adriatic coastline and a substantial part of its hinterland, ending the Venetian and the Ragusan republics, establishing the Illyrian Provinces. In response, the Royal Navy blockaded the Adriatic Sea, leading to the Battle of Vis in 1811. The Illyrian Provinces were captured by the Austrians in 1813 and absorbed by the Austrian Empire following the Congress of Vienna in 1815. This led to the formation of the Kingdom of Dalmatia and the restoration of the Croatian Littoral to the Kingdom of Croatia, now both under the same crown.