It was a battle between the Alaouite Dynasty of Morocco which was then ruled by Moulay Abd al-Rahman against the Emirate of Abdelkader.
[1] Abdelkader ordered 1,200 men and 800 cavalry to patrol the country and the Moroccan attackers were chased to their very own tents before they were brought to the Deira and imprisoned.
[1] The outposts of the Deira repulsed attacks by the Moroccan soldiers and when Emir Abdelkader requested an explanation for the hostilities against him Moulay Hashem gave him a disdainful response.
Emir Abdelkader attacked the Moroccan camp and inflicted a severe defeat killing El Hamra along with many of his soldiers and Moulay Hashem barely escaped with his life.
[1] The word of Emir Abdelkaders victory spread quick in Morocco, the news created a sensation among the Moroccan population who were thrilled of his actions.