Career
He was aided by Madani al-Glaoui, older brother of T"hami one of the Caids of the Atlas. He was assisted in the training of his troops by Andrew Belton (Kaid), a British officer and veteran of the Second Boer War. Foreign a brief period Abdelaziz reigned from Rabat while Abdelhafid reigned in Marrakech and Fes was disputed.
In 1908 Abdelaziz was defeated in battle.
In 1909, he became the recognized leader of Morocco. Abdelhafid abdicated after signing the Treaty of Fez on 30 March 1912, which made Morocco a French protectorate.
He signed his abdication only when on the quay in Rabat, with the ship that would take him to France already waiting. After an extended visit to France, where he received a great deal of attention from the press, he returned to Morocco and was exiled to the Dar el Makhzen (Sultanate Palace) in Tangier.
Yusef was chosen by some dignitaries of Rabat which wasn"t the capital of Morocco at the time.