In 1789 Obradović settled in Vienna, the same year Ernst Gideon von Laudon drove the Turks out of Belgrade, and Dositej greets this event as the beginning of the liberty of the Serbian nation in his poem "Pjesma o izbavljeniju Serbije" (Serbia saved). He stayed there for the next twelve years, writing and printing both original works and translations. In 1802 he travelled back to Trieste because a printing press there was publishing Serbian works. While there he heard of the Serbian uprising against the Turks, and Obradović raised money and donated funds of his own to the cause. He went to work for the victorious Karadjordje administration in 1806. He also wrote the first Serbian national anthem Vostani Serbije.