In 1918, following the end of World War I and the dissolution of Austria-Hungary, the region joined the Kingdom of Serbs, Croats and Slovenes. In 1929, Ljubljana became the capital of the Drava Banovina, a Yugoslav province.