 Muhammad Haidar Mirza was the son of Amir Sayyid Ali and Urun Sultan Khanim, the aunt of the Moghul Yunus Khan.When his father died in 1457–58 his elder brother Saniz Mirza succeeded him as ruler of the territory between Kashgar and Yarkand.Keeping Yarkand for himself, Saniz Mirza gave Kashgar and Yangi Hisar to Muhammad Haidar and his mother.