Young Bosnia
In 1913, Kozak joined the radical Yugoslavist subversive youth organization "Preporod", which was engaged in anti-Austrian and pro-Yugoslav activities, in connection with other organizations of Austro-Hungarian South Slavs, such as Young Bosnia. During World War I, he was drafted into the Austro-Hungarian Army and fought on the Eastern Front.