Sultan Mahmud Begada or Mahmud Shah I (25 May 1458-23 November 1511) was the most prominent Sultan of the Gujarat Sultanate. Raised to the throne at young age, he successfully captured Pavagadh and Junagadh forts in battles which gave him his name Begada. He established Champaner as the capital. He was responsible for the destruction of the Dwarkadhish Temple in Dwarka, Gujarat, one of the Char Dhams considered sacred by Hindus. His full name was Abu'l Fath Nasir-ud-Din Mahmud Shah I. He was born Fat'h Khan or Fateh Khan. He titled himself, Sultân al-Barr, Sultân al-Bahr, Sultan of the Land, Sultan of the Sea. Of the origin of Mahmúd's surname Begra or Begarha, two explanations are given in Bird’s History of Gujarát (p. 202) and Mirăt-i-Ahmedi (Persian Text, pp. 74): From his mustachios being large and twisted like a bullock's horn, such a bullock being called Begado. That the word comes from the Gujaráti be, two, and gadh, a fort, the people giving him this title in honour of his capture of two forts; Junagadh of Girnar (1472) and Pavagadh of Champaner (1484). On the death of Kutb-ud-dín Ahmad Shah II, the nobles raised to the throne his uncle Dáúd Khan, son of Ahmad Shah I. But as Dáúd appointed low-born men to high offices and committed improper acts. Within a short period of seven or twenty-seven days, he was deposed, and in 1459 his half-brother Fateh Khán, the son of Muhammad Shah II by Bíbi Mughli, a daughter of Jám Júna of Samma dynasty ruling from Thatta in Sindh; was seated on the throne at the age of little more than thirteen with the title of Mahmúd Sháh I. The close connection of Fateh Khán with the saintly Sháh Álam is frequently mentioned by with Gujarát chroniclers. According to the Mirăt-i-Sikandari (Persian Text, 66–70) of his two daughters Jám Júna intended Bíbi Mughli the more beautiful for the Saint and Bíbi Mirghi the less comely for the Sultán. By bribing the Jám's envoys the king secured the prettier sister. The enraged Saint was consoled by his father who said: My son, to you will come both the cow and the calf.