 Keita became the "chef-lieu" of the eponymous canton in 1913.In 1917, Tuareg insurgents based in Italian-occupied Libya attacked and plundered the city, killing several people including canton chief Afadandan Ichawa.The attack led to a successful counter-offensive of the French.