 According to a Slovakian template he wrote a poem "Duh slavjanski" ("The Slavic Spirit"), from which three stanzas became the anthem of the Socialist Federal Republic of Yugoslavia (Hey, Slavs).Together with Ljudevit Vukotinović he published the first Croatian anthology of patriotic poetry