sentences:  In 1804 the Habsburg Monarchy became the Austrian Empire which annexed the Venetian Republic in 1814 and established the Kingdom of Dalmatia.After the Austro-Hungarian Compromise of 1867 (by which the Austrian Empire became the Austro-Hungarian Empire) and the Croatian-Hungarian Settlement ("Nagodba") of 1868, the Kingdom of Croatia and Kingdom of Slavonia were joined to create the Kingdom of Croatia-Slavonia within the Hungarian part of the Empire, while the Kingdom of Dalmatia remained a "crown land" in the Austrian part of the Empire.The change of leadership was far from a solution to the war with the Ottomans, in fact, the Ottoman Empire gradually expanded in the 16th century to include most of Slavonia, western Bosnia and Lika.