 Zafar Khan's father Sadharan, was a Tanka Rajput convert to Islam.Zafar Khan defeated Farhat-ul-Mulk near Anhilwada Patan and made the city his capital.Following Timur's invasion of Delhi, the Delhi Sultanate weakened considerably so he declared himself independent in 1407 and formally established Gujarat Sultanate.