1414, he led his army against the Hindu ruler of Junagadh, defeated him in battle, but
restored to him his kingdom after he had tendered his submission. Ahmed Shah overran
practically the whole of the pre sent-day Gujarat, destroying temples wherever he went.
But nothing untoward appears to have happened to the temple of Somanatha.
In 1459 Fatehkhan, the grandson of Ahmed Shah, the founder of
Ahmedabad, was placed on the throne of Gujarat at the age of about 13 with the title of
Muhammad Shah alias Mahmud Bedga.