The Sanjak was occupied by the Habsburg Monarchy from 1718–1739 but, with the Treaty of Belgrade, the area was ceded to the Ottoman Empire. Belgrade, the center of the region while under Austrian rule, was neglected under the Ottomans and Smederevo (Semendire) was the administrative center. Nevertheless, Belgrade eventually became the seat of a pasha with the title of vizier and the Sanjak began to be referred to as the Pashaluk of Belgrade, although it was still called the Sanjak of Smederevo in official documents.
From 1789–1791, Belgrade was again under Austrian rule during the Kočina Krajina Serb rebellion. At the beginning of the 19th century, the Serbian revolution erupted in the Sanjak. The Serb rebels, led by Karađorđe Petrović, managed to expel the Ottomans from the Sanjak for a significant time, which eventually led to the creation of modern Serbia.