Whakakī i te rerenga e whai ake nei: I tīmata te whakaekenga French o Morocco i te rawhiti me te noho a te General Hubert Lyautey o Oujda i te Maehe 1907 me te uru me te
Te whakaekenga o Casablanca Akuhata 1907. Na te Tiriti o Fes i whakapumautia te mana tiaki i te Poutu-te-rangi 1912. I a ia e mahi ana hei kaiwhakahaere French o Morocco, i whakatau a Lyautey ki te neke i te taone nui o te whenua mai i Fes ki Rabat. I roto i ētahi atu take, kua meinga e nga tangata tutu a Fehi hei wāhi kore-pumau. I whai a Sultan Moulay Youssef i te whakatau a nga French ka neke tana noho ki Rabat. I te tau 1913, i utua e Lyautey a Henri Prost nana i hoahoa te "Ville Nouvelle" (te rohe hou o Rabat) hei waahanga whakahaere. I te wa i whiwhi ai a Morocco i te rangatiratanga i te tau 1955, ko Mohammed V, te Kingi o Morocco i taua wa, i whiriwhiri kia noho tonu te whakapaipai ki Rabat.