Ulugh Beg later decided to surrender himself, and Abdal-Latif Mirza granted him permission to take a pilgrimage to Mecca, but while Ulugh Beg was on his way he was murdered by his son on the latter's order.