When Caliph al-Mahdi dies, the caliphate is taken over by Musa, to whom people pledge allegiance as caliph, and to Harun al-Rashid as the crown prince. Musa accuses Yahya of plotting against him.