These territories lying north and east of the Adriatic Sea were amalgamated with the former Venetian territories of Dalmatia and Istria, annexed by Austria in the 1797 Treaty of Campo Formio, and the former Republic of Ragusa, which all had just been adjudicated to the Napoleonic Kingdom of Italy in 1805 and 1808, into the Illyrian Provinces, technically part of France.