The correct option is B Sultan Muhammad Shah III
Mahmud Gawan was a military officer recruited in the Bahamani military by Alauddin Bahman Shah. He worked honestly and was loyal to the Bahamani kingdom. Years later, he went onto become the Prime Minister during the reign of Sultan Muhammad Shah III.