 The Croatian Parliament supported King Charles III's Pragmatic Sanction and signed their own Pragmatic Sanction in 1712.Subsequently, the emperor pledged to respect all privileges and political rights of Kingdom of Croatia and Queen Maria Theresa made significant contributions to Croatian matters, such as introducing compulsory education.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.