When Ujević was young, he thought to dedicate his life to politics. After having been involved in various activities related to the nationalism of Yugoslavia between 1912 and 1916, he began a life with a bohemian style, developing a great interest in literature.