{{Infobox military conflict | conflict = Battle of Tahert | place = Tahert | date = 790 | result = Rustamid victory | combatant1 = Idrisid dynasty | combatant2 = Rustamid Imamate | commander1 = Idris I | commander2 = Abd al-Wahhab }}

The '''Battle of Tahert''' occurred in 790 when Idris I marched eastward from Tlemcen and made an unsuccessful attempt to overthrow the Rustamids at their capital.<ref name="Didier">{{cite book |last1=Didier |first1=Léon Jules |title=Histoire d'Oran. Tome IV, Période de 705 à 1500 |date=1931 |publisher=(Oran) |page=286 |url=http://catalogue.bnf.fr/ark:/12148/cb370632910}}</ref><ref name="Mercier">{{cite book |last1=Mercier |first1=Ernest |title=Histoire de l'Afrique septentrionale (Berbérie) depuis les temps les plus reculés jusqu'a la conquête français (1830) |date=1888 |publisher=Ernest Leroux |page=260 |url=https://books.google.com/books?id=Uf8nAAAAYAAJ&pg=PA317}}</ref><ref name="Garrot">{{cite book |last1=Garrot |first1=Henri |title=Histoire générale de l'Algérie |date=1910 |publisher=Impr. P. Crescenzo |page=174 |url=https://books.google.com/books?id=p-xAAAAAYAAJ&q=“tiharet”+790}}</ref><ref name="Abu Nasr">{{cite book |last1=Abu Nasr |first1=Jamil |title=A History of the Maghreb. |date=1971 |publisher=Cambridge University Press |page=76 |isbn=978-0-521-07981-5 |url=https://archive.org/details/historyofmaghrib0000abun}}</ref>

In 790 Idris I marched eastward to Tlemcen. The people of Tlemcen opened its gates for him and pledged allegiance to him, enabling him to seize the city without a fight.{{sfn|Mercier|1888|p=260}}<ref>{{cite book |editor1-last=Elfasi |editor1-first=M. |title=General History of Africa Volume 3 |date=1988 |publisher=Unesco |page=255 |isbn=978-92-3-101709-4 |url=https://books.google.com/books?id=tw0Q0tg0QLoC&pg=PA255}}</ref>

Following his seizure of Tlemcen, he directed his efforts towards the Rustamid capital of Tahert. He attempted an attack against Tahert, however he failed under its walls as a result of its strong defenders.{{sfn|Abu Nasr|1971|p=76}}{{sfn|Didier|1931|p=286}}{{sfn|Mercier|1888|p=260}}<ref>{{cite book |title=Bulletin |date=1913 |publisher=Société de géographie d'Alger et de l'Afrique du Nord |page=293 |url=https://books.google.com/books?id=dv8wAQAAMAAJ&q=%C3%A9chouer}}</ref> Following this failure, he returned to Walila and left a governor in Tlemcen to represent him.{{sfn|Mercier|1888|p=260}}

Despite this attempt, the Rustamids did not face any serious threat from their neighbours in the ninth century.{{sfn|Abu Nasr|1971|p=76}}

==References== {{Reflist}}

Category:Rustamid dynasty