The fall of Belgrade in 1521 and the defeat at Mohács in 1526 caused the division of the Hungarian Kingdom in three parts, and Banat became the object of contention between the Habsburg Kingdom of Hungary and Ottomans. After a failed siege in 1551, the Turks regrouped and returned with a new strategy. On 22 April 1552, a 160,000-strong army led by Kara Ahmed Pasha conquered the city and transformed it into a capital city in the region (Eyalet of Temeşvar). The local military commander, István Losonczy, and other Christians were massacred on 27 July 1552 while escaping the city through the Azapilor Gate. After the death of John Zápolya, Habsburgs tried to obtain Transylvania and Banat, including Timișoara, with mixed results; Transylvania even entered into dual vassalage for a time.