The Zaian war was eventually brought to a close in 1921 following the death of Hammou and the submission of the remaining Zaian Confederation members however said continued his resistance, fleeing first to the Moulouya Valley and then to the highest mountains of the High Atlas after his defeat at the Battle of El Ksiba in April 1922 by General Joseph-François Poeymirau and Colonel Henry Freydenberg.