the Battle of Mohács in 1526, Temesvár was not conquered by the Ottomans until October 1551. The city was transformed into the administrative centre of an Ottoman province, the Province of Temeşvar . The fortress was rebuilt and, along with Belgrade, used as a major military base by the Ottomans. Because of its military orientation, the city itself developed slowly during the Ottoman administration. Timișoara had two fortified parts: the castle and the city, which was surrounded by wooden and stone walls. 200 guns were used to defend the city as well as water trenches around the walls. Approximately 1,200 houses, schools, hotels, and public baths were to be found inside the walls, while outside the walls around 1,500 other houses were present. The Habsburg Era The Ottomans surrendered the city to the Habsburg Imperial armies led by Prince Eugene of Savoy on 12 October 1716 during the Austro-Turkish War of 1716–18. Prince Eugene entered the city on October 18 and named one of his officers, Claudius Florimund Mercy, as governor of the city. Because the town had burned down during the siege, the city was completely rebuilt under Mercy's supervision. Temesvár was officially conceded to the Austrian Habsburg monarchy by the Ottomans in the Treaty of Passarowitz of 1718. Temesvár became the capital of the Banat of Temeswar, a separate Habsburg province. The province was abolished in 1778, reincorporated into Kingdom of Hungary. Under Habsburg rule, a new stone fortress was built around the city in 1723. Inside the walls houses, hospitals, schools, and churches were being raised, while outside the city factories were being opened. By the 1720 data, most of the inhabitants of the town were ethnic Serbs, and also some Romanians. Later, German, Italian, and Spanish settlers were brought in to settle in the area. The marshland around the city was reclaimed, while the rivers Bega and Temes became regulated. The city remained a military stronghold with a large garrison. This period was one of strong economic development and population increases. By 1781 Temesvár was one of the most important cities of the Habsburg monarchy and as such it received a royal free city warrant which would accelerate the development of the city even further. Because of the Habsburg administration, Temesvár was often referred to by the German names Temeschburg, meaning "castle (Burg) on the Temes" or Temeschwar, based on the Hungarian Temesvár. Temesvár was captured