In 1830, due to frequent flooding, ruling prince Miloš Obrenović ordered the town be moved to the nearest, right bank, so it was resettled 2 kilometers downstream, at the mouth of river Oreškovica into the Danube.