 Following a brief period of self-rule at the end of World War I, Croatia was incorporated into the Kingdom of the Serbs, Croats and Slovenes in 1918, under the Karađorđević dynasty.In 1929, the new Constitution of the Kingdom renamed it Kingdom of Yugoslavia and split up the country into banovinas.In 1939, the Banovina of Croatia was created with Cvetković-Maček agreement as a unit of limited autonomy within Kingdom of Yugoslavia.