Emir Abdelkader was outlawed in Morocco following the Treaty of Tangiers.[2][3][4] This led to a series of confrontations between him and the Moroccan forces in which even an assassin had been sent in an attempt to kill him, these tensions ultimately led to the Battle of Oued Aslaf which resulted in an Algerian victory.[1][5]