The Emirate of Granada (Arabic: , romanized: Imrat arnah), also known as the Nasrid Kingdom of Granada (Spanish: Reino Nazar de Granada), was an Islamic realm in southern Iberia during the Late Middle Ages. It was the last independent Muslim state in Western Europe.Muslims had been present in the Iberian Peninsula, which they called Al-Andalus, since the early eighth century. At its greatest geographical extent, Muslim-controlled territory occupied most of the peninsula and part of present-day southern France. From the ninth to the tenth century, under the Caliphate of Crdoba, the region was one of the most prosperous and advanced in Europe. Conflict with the northern Christian kingdoms was recurrent, while mounting civil strife led to a fragmenting of Muslim states in the early eleventh century. This marked a precipitous decline in Muslim power and facilitated the centuries-long Christian Reconquista.
By 1230, the Almohad Caliphate in Morocco ruled the remaining Muslim territories in southern Iberia. Exploiting the Almohad's dynastic strife, the ambitious Muhammad ibn al-Ahmar rose to power and established the Nasrid dynasty in control of a sizeable portion of this territory, roughly corresponding to the modern Spanish provinces of Granada, Almera, and Mlaga. By 1250, the emirate was the last Muslim polity in the peninsula. Although effectively a vassal of the rising Crown of Castile, for over two centuries, Granada enjoyed considerable cultural and economic prosperity; much of the famed Alhambra palace complex was built during this period, and the Nasrids would be the longest-lived Muslim dynasty in Iberia.
Nascent Christian power in Iberia meant that Granada's existence was always precarious. In 1491, after a decade of intermittent warfare known as the Granada War, the emirate was forced to capitulate to the Catholic Monarchs. The following year, Muhammad XII, the last Nasrid ruler of Granada, formally relinquished his sovereignty and surrendered his territories to Castile, eventually moving to North Africa in exile. This marked the end of independent Muslim rule in Iberia.
The Battle of Linuesa was an action fought on 21 December 1361 in the city of Huesa, Kingdom of Jaén (present-day Province of Jaén, Spain). The battle was fought between the Kingdom of Castile and the forces of the Emirate of Granada. The battle resulted in a victory for the forces of the Kingdom of Castile.
The Castilian forces were commanded by Diego García de Padilla, the Grand Master of the Order of Calatrava, Enrique Enríquez "el Mozo", the Adelantado Mayor of the frontera de Andalucía, and by Men Rodríguez de Biedma, the head Caudillo of the Bishop of Jaén.