After the French defeat at the Battle of El Herri left Khénifra threatened with capture, Garnier-Duplessix led his groupe mobile 30 miles through continuous Berber ambushes to relieve the strategically important town within three days.