Battle of Las Babias

The Battle of Las Babias occurred in the year 795 when the Emir of Cordoba, Hisham I of Córdoba sought to avenge his previous military incursions in 794 against the Kingdom of Asturias under the command of the brothers Abd al-Karim ibn Abd al-Walid ibn Mugaith and Abd al-Malik ibn Abd al-Walid ibn Mugaith. The previous battles resulted in devastating losses for the Emirate, most importantly at the Battle of Lutos where one of the Emir's generals was killed in action. The battle resulted in a Córdoban victory.

Background
The Córdoban Emir, Hirsham I sought revenge for the defeat of his army in 794 at the Battle of Lutos in which the Córdoban general Abd al-Malik ibn Abd al-Walid ibn Mugaith was killed in action. To achieve this end, he sent his brother, Abd al-Karim ibn Abd al-Walid ibn Mugaith at the head of an army of 10,000 men under arms against the Kingdom of Asturias.

The Emir also organized another army which marched against the Kingdom of Galicia to divert any potential conversion of Christian forces on his brother's army in Asturias. This second column entered Galicia and proceeded to lay waste to the land. Upon its withdrawal, it came into a separate engagement with Galician and Asturian forces and was routed. In this action, the Muslims suffered heavy losses and forces captured, but managed to escape eventually.

King Alfonso II of Asturias, who had reinforced his army with local machus made his camp near Astorga. The area had been a base of operations for Muslim attacks against Asturias via Puerto de Mesa. From there, the Asturian king sent the local inhabitants into the surrounding mountains and waited for the Córdoban forces to engage him. The location was favorable in that his line of retreat was guaranteed via Puerto de Ventana.

Battle
Abd al-Karim sent his vanguard of 4,000 men against Alfonso II's main force under the command of Farach ibn Kinanah, the commander of the Sidoniyya Division. Abd al-Karim ibn Abd al-Walid ibn Mugaith himself advanced shortly afterwards with the rearguard and reserves and their combined forces managed to successfully rout the Asturians. As planned, the Asturians retreated via Puerto de Ventana while fighting a rearguard action against pursuing Córdoban cavalry.

Aftermath
Abd al-Karim ibn Abd al-Walid ibn Mugaith and Farach ibn Kinanah proceeded to then defeat the forces of the Kingdom of Asturias at the Battle of Río Quirós, again at the Battle of Río Nalón, and culminating in the capture of Oviedo. With the onset of winter, the Córdoban forces retreated back to their lands without dealing a finishing blow to the Kingdom of Asturias. The Asturian king Alfonso II was able to escape with his host.

The death of Hisham I of Córdoba and the subsequent disputes between his heirs ensured that the Kingdom of Asturias could recover from the series of defeats in the course of a few years. The time allowed for Alfonso II of Asturias to cement an alliance with Charlemagne, King of the Franks.