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-Slavonia
At Franz Joseph's insistence, Hungary and Croatia reached the Compromise (or "Nagodba" in Croatian) in 1868, giving the Croats a special status in Hungary. The agreement granted the Croats autonomy over their internal affairs. The Croatian ban would now be nominated by the Hungarian prime minister and appointed by the king. Areas of "common" concern to Hungarians and Croats included finance, currency matters, commercial policy, the post office, and the railroad. Croatian became the official language of Croatia's government, and Croatian representatives discussing "common" affairs before the Hungarian diet were permitted to speak Croatian. A ministry of Croatian Affairs was created within the Hungarian government.