The correct answer is: A. Ahmad Shah I
Ahmad Shah I was the first independent Muslim ruler of Gujarat. He was the founder of the Muzaffarid dynasty, which ruled Gujarat from 1407 to 1526. Ahmad Shah I was born in 1377 in the town of Patan in Gujarat. He was the son of Zafar Khan Muzaffar, a general in the service of the Delhi Sultanate. Ahmad Shah I began his career as a military commander in the service of the Delhi Sultanate. He distinguished himself in several campaigns against the Rajputs and the Mongols. In 1407, Ahmad Shah I declared himself independent from the Delhi Sultanate and founded the Muzaffarid dynasty. He ruled Gujarat for 20 years until his death in 1427. During his reign, Ahmad Shah I expanded the territory of Gujarat and made it a powerful kingdom. He also built many mosques, tombs, and other monuments in Gujarat.
Option B, Ahmad Shah Bahadur, was the third ruler of the Muzaffarid dynasty. He ruled Gujarat from 1451 to 1468. Option C, Muhammad Shah, was the fifth ruler of the Muzaffarid dynasty. He ruled Gujarat from 1468 to 1511. Option D, Zafar Khan Muzaffar, was the founder of the Muzaffarid dynasty. He ruled Gujarat from 1407 to 1427.