December 28, he failed to appear; in response, the houses of Muhammad's subordinates were looted and a large crowd again approached Muhammad's palace, forcing al-Musta'in to make another public appearance. Shortly after this he moved out of Muhammad's palace to another residence in the city, and on January 2, 866, he led the prayer for the Feast of Sacrifice. Muhammad, for his part, strove to convince the people that he was still acting in al-Musta'in's best interests, while at the same time continuing to negotiate with Abu Ahmad regarding the terms of surrender. On January 7, Muhammad and Abu Ahmad met in person under a canopy outside the Shammasiyah gate, and the two men agreed that the state revenues would be split among the parties, with two thirds going to the Turks and one third going to Muhammad and the Baghdadi army, and al-Musta'in should be held liable for part of the soldiers' pay. On the following day, Muhammad went to al-Musta'in and attempted to convince him to abdicate. At first al-Musta'in adamantly refused, but when the Turkish officers Wasif and Bugha stated that they had sided with Muhammad, he agreed to step down. As part of the terms of al-Musta'in's abdication, he was to be given an estate in the Hijaz, and allowed to travel between the cities of Mecca and Medina. On January 12, Muhammad brought a group of judges and jurists to witness that al-Musta'in had entrusted his affairs to him. Delegates carrying the terms of abdication were sent to Samarra, where al-Mu'tazz personally signed the document and agreed to the conditions. The delegates returned to Baghdad with the signed document on January 24, accompanied by a group of emissaries sent to secure al-Musta'in's allegiance to al-Mu'tazz. On Friday, January 25, al-Mu'tazz was acknowledged as caliph in the mosques throughout Baghdad. Death By the beginning of 866, with plots and treachery all around, al-Musta'in was persuaded by alternating threats and promises to abdicate in favor of al-Mu'tazz. He was to live at Medina with a sufficient income. The conditions signed, the Governor of Baghdad received the ministers and courtiers of al-Musta'in, and, having assured them he had done what he had for the best and to stop further bloodshed, sent them to Samarra to pay homage to the new Caliph. Al-Mu'tazz ratified the terms and took possession of Baghdad in the early days of 252 AH (866