 During the Great Turkish War, the Austrians, under Louis of Baden, pushed the Turks far to the south of the city.Although this occupation was short-lived, it spelled an end to consolidated Ottoman rule in the region.Soon after, in 1718, Kragujevac became a part of the Habsburg Kingdom of Serbia following conquest by Prince Eugene of Savoy and the signing of Treaty of Passarowitz.