Whakaotihia te rerenga e whai ake nei: Ko te whare rangatira i noho noa i muri i te wehenga o al-Ma'mun ki te tango i te mana o te rangatira o Khurasan, a puta noa i te
Ko te pakanga a Abbasid i muri i te matenga o Harun i waenga i a al-Ma'mun me tana tuakana, a al-Amin (r. I te wa o te pakanga, ko te Whare o te Golden Gate, i noho hei pa kaha o al-Amin i te whakapae o Baghdad (812<unk>813), i tino whakangaromia, a he nui te kino o te Khuld. I te mutunga, i te hokinga mai o al-Ma'mun ki Baghdad i te 819 ka noho ia ki te parirau hauauru o te Khuld, i te wa e noho ana tana kaitiaki me tana hoa pono, a al-Hasan ibn Sahl, ki te Whare Ma'muni. I muri tata mai, hei utu mo te whakapaunga nui a te vizier i nga huihuinga mo te marena i waenga i a al-Ma'mun me te tamahine a al-Hasan a Buran, i whakawhiwhia e te Caliph te whare rangatira ki a ia. I hangaia e Al-Hasan me te whakarahi ake i te whare rangatira, engari i muri i etahi tau ka hoatu e ia ki tana tamahine a Buran, i ora ake i tana tahu a al-Ma'mun ka noho ki reira tae noa ki tona matenga i te 884. Ko te hanga hou a Hasan me te whakamahinga a Buran i whakapumautia te ingoa noa o te whare rangatira, "Te Whare o al-Hasan" ko "Hasani Palace" (), ahakoa i nga wa o muri ake nei i whakamahia tonu e nga kaituhi hei korero ki a ia ko te Ma'muni, ko te Whare Ja'fari ranei (, ).