Al-Kamil puts his nanny Zainab in prison and insults his judge, Sharaf al-Din, after the latter acquitted Zainab, so Sharaf al-Din decides to leave his position in the palace.