Dialects of Serbo-Croatian
Kajkavian is spoken in North Croatia, including the capital Zagreb, as well as in a few enclaves in Austria, Hungary, and Romania. Though its speakers are ethnic Croats and Kajkavian is thus generally considered a dialect of Serbo-Croatian, it is closer to neighboring Slovene than it is to Chakavian or Shtokavian. The Kajkavian area of Croatia is bordered on the northwest by Slovene language territory. It is bordered on the east and southeast by Shtokavian dialects roughly along a line that was the former division between Civil Croatia and the Habsburg Military Frontier; in southwest along Kupa and Dobra rivers, it persisted in ancient (medieval) contact with Chakavian dialects.
Kingdom of Croatia (Habsburg)
In the 19th century Croatian romantic nationalism emerged to counteract the non-violent but apparent Germanization and Magyarization. The Croatian national revival began in the 1830s with the Illyrian movement. The movement attracted a number of influential figures and produced some important advances in the Croatian language and culture. The champion of the Illyrian movement was Ljudevit Gaj who also reformed and standardized the Croatian literary language. Official language in Croatia has been Latin until 1847 when it has become Croatian.