Rubuta ci gaba don wannan sakin layi - A watan Mayu na 1907, bayan da Faransa ta mamaye Oujda, kudancin aristocrats jagorancin shugaban kabilar Glaoua, Si Elmadani El Glaoui<unk> ya gayyaci Abd al-Hafid, ɗan'uwan ɗan'uwan Abdelaziz, kuma mataimakin sarki a Marrakesh, ya zama sultan, kuma a ranar 16 ga Agusta, 1907, bayan harin bam da mamaye Casablanca
, An ayyana Abdelhafid a matsayin mai mulki a Marrakesh tare da dukkan al'amuran yau da kullun.