 In 1809, Višnjić left eastern Bosnia, crossed the Drina and ventured into Serbia, which beginning in 1804, had been the site of a violent anti-Ottoman rebellion under the leadership of Karađorđe.Višnjić and his family first settled in Loznica, then in Badovinci, and finally in Salaš Noćajski, where they were accommodated by the rebel leader Stojan Čupić.Thereafter, Višnjić travelled along the Drina, playing the "gusle" and reciting his epic poetry with the aim of raising the rebels' morale.