Kammala jumla mai zuwa: Lokacin Yarjejeniyar Algeciras a 1906 - wanda aka yiwa lakabi da fatarar jihar, harajin da aka kasa, da tawaye - ya kasance mai rikitarwa ga Sultan Abdelaziz. Sojojin Faransa karkashin jagorancin Hubert Lyautey sun kama Oujda a gabashin Afrilu, 1907, a bayyane yake a matsayin azaba ga kisan Émile Mauchamp a Marrakesh. A watan Agusta, jiragen yakin Faransa
sun kai harin Casablanca bayan wani tashin hankali a matsayin martani ga aiwatar da sharuɗɗan yarjejeniyar Algeciras. An ga Abdelaziz a matsayin mai laushi da rashin tasiri.