 With the fall of the Venetian Republic in 1797, its possessions in eastern Adriatic became subject to a dispute between France and Austria.The Habsburgs eventually secured them (by 1815) and Dalmatia and Istria became part of the empire, though they were in Cisleithania while Croatia and Slavonia were under Hungary.Croatian romantic nationalism emerged in the mid-19th century to counteract the apparent Germanization and Magyarization of Croatia.