He was captured and forced to abdicate in favor of Pirbudag (7 year old biological son of Qara Yusuf) and to appoint Shah Muhammad (another son of Qara Yusuf) to be governor of Baghdad. He was executed the next day passing Iraq into the hands of Qara Yusuf after Bistam Beg urged him. Qara Yusuf declared his son as "sultan" and crowned him in 1411, however he was still in charge as regent.[2][11][12]