Jalal ad-Din Mingburnu, sacked and conquered Uch in 1224 after Qabacha refused to aid him in a campaign against Genghis Khan. Jalal ad-Din Mingburnu was finally defeated by Genghis Khan in 1224 in a battle at Uch, and was forced to flee to Persia. Khan attacked Multan on his return to Iran in 1224, though Sultan Qabacha was able to successfully defend that city. Despite repeated invasions, the city remained a great centre of Muslim scholarship, as evidenced by the appointment of the renowned Persian historian Minhaj-i-Siraj as chief of the city's Firozi madrasa. In 1228, Qabacha's forces, weakened by Mongol and Khwarazmian invasions, lost Uch to Sultan Iltutmish of Delhi, and fled south to Bhakkar in Sindh, where he was eventually captured and drowned in the Indus River as punishment. Following the collapse of Qabacha's sultanate at the hands of Mongols and Khwarazmians, and the degradation of Lahore from years of conflict there, Muslim power in north India shifted away from Punjab and towards the safer environs Delhi. Mongol and Timurid invasions One of Uch's most celebrated saints, Jalaluddin Surkh-Posh Bukhari, migrated to Uch from Bukhara in 1244-45. In 1245-46, the Mongols again invaded Uch under Möngke Khan after receiving aid from the local Khokhar tribes. in 1252, forces from Delhi were sent to the region in order to secure Uch from Mongol raiders, though Uch was again raided in 1258. Uch was raided yet again by Mongols in 1304 and 1305. Following the 1305 invasion, Uch came under the governorship of Ghazi Beg, who would later seize Delhi and come to be known as Ghiyath al-Din Tughluq, founder of the Tughlaq dynasty of the Delhi Sultanate. Uch was captured in 1398 by Pir Muhammad ibn Jahangir, grandson of Tamerlane, allowing Khizr Khan to regain control of the area, before joining with the forces of the elder Tamerlane to sack Delhi and establish the Sayyid dynasty in 1414. Langah sultanate Uch then came under the control of the Langah Sultanate in the early 15th century, founded in nearby Multan by Budhan Khan, who assumed the title Mahmud Shah. During the rule of Shah Husayn Langah, large numbers of Baloch settlers were invited to settle in the region. The city was placed under the jagir governorship of a Samma prince. In the mid 1400s, Muhammad Ghaus Gilani, a descendant of the Persian saint Abdul Qadir Gilani, established a Khanqah monastery