In 1718–39, the Habsburg Monarchy occupied much of Central Serbia and established the Kingdom of Serbia as crownland. Those gains were lost by the Treaty of Belgrade in 1739, when the Ottomans retook the region. Apart from territory of modern Vojvodina which remained under the Habsburg Empire, central regions of Serbia were occupied once again by the Habsburgs in 1788–1792.