 After the war, he studied South Slavic history and literature at universities in Zagreb and Graz, eventually attaining his Ph.D. in Graz in 1924.He worked in the diplomatic service of the Kingdom of Yugoslavia from 1920 to 1923 and again from 1924 to 1941.In 1939, he became Yugoslavia's ambassador to Germany, but his tenure ended in April 1941 with the German-led invasion of his country.