The Gujarat Sultanate or Sultanate of Gujarat was a late medieval Islamic Indian kingdom in Western India, primarily in the present-day state of Gujarat. The kingdom was established in 1394 when Muzaffar Shah I, the Governor of Gujarat, declared independence from the Tughlaq dynasty of Delhi.
Following Timur's invasion of the Delhi Sultanate, Delhi was devastated and its rule weakened considerably, leading Muzaffar Shah to declare himself independent in 1394, and formally established the Sultanate in Gujarat. The next sultan, his grandson Ahmad Shah I, moved the capital to Ahmedabad in 1411. His successor Muhammad Shah II subdued most Rajput chieftains. The prosperity of the sultanate reached its zenith during the rule of Mahmud Begada. He also subdued most Gujarati Rajput chieftains and built a navy off the coast of Diu.