
An Abbasid–Carolingian alliance was attempted during the 8th to 9th century through a series of embassies, rapprochements and combined military operations between the Frankish Carolingian Empire and the Abbasid Caliphate and pro-Abbasid rulers in Al Andalus.

The Banu Qasi, Banu Kasi, Beni Casi or Banu Musa were a Muwallad dynasty that in the 9th century ruled the Upper March, a frontier territory of the Umayyad Emirate of Córdoba, located on the upper Ebro Valley. At their height in the 850s, family head Musa ibn Musa ibn Qasi was so powerful and autonomous that he would be called 'The Third Monarch of Hispania'. In the first half of the 10th century, an intra-family succession squabble, rebellions and rivalries with competing families, in the face of vigorous monarchs to the north and south, led to the sequential loss of all of their land.

The Battle of Clavijo is a mythical battle. "To a serious historian, the existence of the Battle of Clavijo is not even a topic of discussion". However, it was believed for centuries to be historical, and it became a popular theme of Spanish traditions regarding the Christian expulsion of the Muslims. The stories about the battle are first found centuries after it allegedly occurred; according to them, it was fought near Clavijo between Christians, led by Ramiro I of Asturias, and Muslims, led by the Emir of Córdoba.

The Battle of Guadalacete was fought in 852 between a coalition of troops from the Kingdom of Asturias and the Kingdom of Navarre, and a force of troops from the Muslim Emirate of Córdoba under the command of Muhammad I of Córdoba. The outcome was a Muslim victory.
The Battle of Monte Laturce, also known as the second Battle of Albelda, was a victory for the forces of Ordoño I of Asturias and his ally García Íñiguez of Pamplona. They defeated the latter's uncle and former ally, the Banu Qasi lord of Borja, Zaragoza, Terrer, and Tudela, Navarre, Musa ibn Musa ibn Qasi, a marcher baron so powerful and independent that he was called by an Andalusi chronicler "The Third King of the Spains" (Spaniae). The battle took place during the Asturian siege of a new fortress under construction by Musa at Albelda. The fortress was taken a few days after the battle. After Monte Laturce, Musa was forced to fully submit to the Emir of Córdoba, who took advantage of Musa's weakness to remove him as wāli of the Upper March, initiating a decade-long eclipse of the Banu Qasi.

The Battle of Pancorbo was a battle that took place in the year 816 between a Moorish army from the Emirate of Cordoba sent by Al-Hakam I and under the control of Abd al-Karim ibn Abd al-Wahid ibn Mugit and the pro-Frankish forces under the control of Balask al-Yalasqi. The battle was fought when the Córdoban forces attempted to cross the pass at Pancorbo.

The Battle of the Morcuera, was a battle of the Spanish Reconquista that took place in the Hoz de la Morcuera between the municipalities of Foncea and Bugedo nearby the city of Miranda de Ebro on 9 August, 865. The battle was fought between the combined Christian troops of the Kingdom of Castile and the Kingdom of Asturias under Rodrigo of Castile and the Muslim forces of the Emirate of Cordoba under Muhammad I of Córdoba. The battle resulted in a victory for the Cordobans and a general retreat in the overall Reconquista process.

The Emirate of Córdoba was a Medieval Islamic kingdom in the Iberian Peninsula. Its founding in the mid eighth century would mark seven hundred years of independent Muslim rule in what is now Spain and Portugal.
Viking activity in the Iberian peninsula seems to have begun around the mid-ninth century as an extension of Viking raids on and establishment of bases in Frankia in the earlier ninth century. While connections between the Norse and Eastern Islamic lands were well-established, particularly involving the Rus' along the Volga and around the Caspian Sea, relations with the Western edge of Islam were more sporadic and haphazard. Although Vikings may have over-wintered in Iberia, no evidence has been found for trading or settlement. Indeed, the Iberian peninsula may not have offered particularly wealthy targets, in the ninth to tenth centuries. Sporadic raiding continued until the end of the Viking Age.