The Muzaffarid dynasty, sometimes referred as Ahmedabad dynasty, were sultans of Gujarat in western India from 1391 to 1583. The founder of the dynasty was Zafar Khan (later Muzaffar Shah I) who was governor of Gujarat under the Delhi Sultanate. Zafar Khan's father Sadharan, was a Tanka Rajput convert to Islam, adopted the name Wajih-ul-Mulk, and had given his sister in marriage to Firuz Shah Tughlaq. When the Sultanate was weakened by the sacking of Delhi by Timur in 1398, and Zafar Khan took the opportunity to establish himself as sultan of an independent Gujarat. His son, Ahmed Shah I established the capital at Ahmedabad. The dynasty ruled for almost 200 years, until the conquest of Gujarat by the Mughal Empire in 1572. The sultanate reached its peak of expansion under Mahmud Begada, reaching east into Malwa and west to the Gulf of Kutch.