Background and the surrounding regions|Map of the Nasrid
Emirate of Granada. The frontiers changed over time and the map might not correspond to the territories held during a specific point of Muhammad II's rule. Green/pale yellow: Granada. Granada was located between two larger neighbours: the Christian kingdom of
Castile to the north and the Muslim
Marinid state centred in today's Morocco to the south. Castile's objectives were to keep Granada in check, prevent it from conducting raids and force it to continue paying tribute. The tribute amount was 300,000
maravedís—about half of Granada's revenue—and represented an important source of income for Castile, though Granada often suspended payments. On the other hand, the Marinids, following in the footsteps of their
Almohad and
Almoravid predecessors, saw the protection of the Muslims in the Iberian peninsula, as well as participation in
jihad against the Christian expansion there—the so-called "
Reconquista"—as their duty as Muslims and as a way to increase their legitimacy. By the time of Muhammad II's rule, Granada's main objective was to maintain independence from both of these powers, preserve the balance of power, prevent an alliance between them, and control towns on the Castilian frontiers as well as ports on the
Strait of Gibraltar, such as
Algeciras,
Tarifa, and
Gibraltar. The contest over control of these strategically important ports, which controlled passage to and from North Africa, lasted until the mid-14th century, in what modern historians call the "
Battle of the Strait" (
Batalla del Estrecho). Besides these two foreign powers, Granada was also challenged by the
Banu Ashqilula, another Arjona clan which was initially allied with the Nasrids, and whose military strength had helped establish the kingdom. They rebelled against Muhammad I from at least 1266, and received assistance from Castile, then under the rule of
Alfonso X, who wanted to keep Granada in check. Alfonso sent a force under
Nuño González de Lara to help the Banu Ashqilula, but the Castilian nobleman had his own grievances against Alfonso; Nuño González ended up rebelling against his king, and was welcomed by Muhammad I. In the beginning of Muhammad II's rule, the Banu Ashqilula's territories included
Málaga—the second biggest city in the emirate after Granada and an important Mediterranean port—as well as
Guadix.
Accession and negotiation with Alfonso X On 22 January 1273, Muhammad I fell from a horse and died of his injuries. The younger Muhammad took the throne as Muhammad II. As he was the designated heir, the transition of power went smoothly. His first order of business was to deal with the Banu Ashqilula rebellion and the Castilian rebels who had been allied to his father and welcomed in Granadan territories. Relations with the Castilian rebels, who were led by Nuño González and had been useful in checking both Castile and the Banu Ashqilula, weakened as both sides were concerned about losing each other's support after the succession. Alfonso was also interested in reconciling with some of the rebels. Muhammad II then entered into negotiations with Alfonso—if he could secure Castile's alliance, he would not need to worry about losing the support of the rebels. In late 1273, he and some of the rebel leaders visited Alfonso at his court in
Seville, where they were welcomed with honour. Alfonso agreed to Granada's demands—to end his support for the Banu Ashqilula—in exchange for Muhammad's promise to be Alfonso's vassal, to pay 300,000 maravedís each year in tribute, and to end his co-operation with the rebels. However, once the payment was made, Alfonso reneged on his part of the bargain, maintained his support for the Banu Ashqilula and pressed Muhammad to grant them a truce.
Marinid expeditions against Castile , which controlled passage between North Africa and the Iberian Peninsula. Political control in 1292: , , and Frustrated by Alfonso, Muhammad sought help from the Marinids, ruled by
Abu Yusuf Yaqub. While Alfonso was away on a journey to meet Pope
Gregory X, leaving his realm under his heir and the regent
Ferdinand de la Cerda, Muhammad sent envoys to the Marinid court. Abu Yusuf had expressed interest in fighting the Christians in Spain since 1245, and now, having gained control of the former Almohad capital of
Marrakech and unified most of Morocco, he had the power and the opportunity to do so. In April 1275 Abu Yusuf mobilised an army which included 5,000 cavalry under the command of his son, Abu Zayyan Mandil. Three months later Abu Zayyan crossed the Strait of Gibraltar, landed at Tarifa and took over the town. Soon the governor of Algeciras seceded from Granada and yielded his town to Abu Zayyan. The Marinid prince established a beachhead between Tarifa and Algeciras, and began raiding Castilian territory up to Jerez. Amid the landings, Muhammad II attacked the Banu Ashqilula in Málaga on June 1275, but he was repulsed. Ferdinand de la Cerda marched to meet the Muslim forces, but he died on 25 July 1275 in
Villareal, leaving Castile with uncertain leadership. With the beachhead established and the Castilian territories reconnoitred, Abu Yusuf sent more troops across, including his own household troops, ministers, officials and North African clerics. Abu Yusuf himself crossed to Spain on 17 August 1275. He then met with Muhammad and the leader of the Banu Ashqilula, Abu Muhammad, who joined the Sultan with their armies. The Marinids treated the Nasrids and the Banu Ashqilula as equals, and Muhammad, offended at being seen as an equal to his rebellious subjects, left the army after three days, although his forces remained. In September 1275 this army won a major victory against Castile at the
Battle of Ecija. Nuño González, now fighting for Castile, was killed. According to Marinid chronicles, the Banu Ashqilula contributed much to this victory and their leaders were present, while Granadan forces contributed little, with Muhammad himself staying in Granada. Abu Zayyan celebrated the victory in Algeciras and sent the head of Nuño González to Granada. This probably offended Muhammad, who abhorred this type of cruelty and might have respected or even befriended his former ally. He embalmed the head in musk and camphor and sent it to Castile to be interred properly with his body. Marinid sources portrayed this as an attempt by Muhammad to "court [Alfonso's] friendship". At this point, the Marinids became more friendly with the Banu Ashqilula and less sympathetic towards Muhammad. After losing a naval battle off Tarifa, Abu Yusuf, wary of being cut off from Morocco, decided to return home. Abu Yusuf, Muhammad and Castile agreed to a two-year truce in late December 1275 or early January 1276. Before Abu Yusuf left, Muhammad's secretary Abu Umar ibn Murabit wrote a poem expressing fear of Castile's power and appealing for the Marinids' continued help (
see box). Abu Yusuf left Spain and landed at
Ksar es-Seghir on 19 January. Abu Yusuf and the Marinids returned to Spain in June 1277. Initially they were joined by the Banu Ashqilula and campaigned without Muhammad and the Nasrid forces. The Marinids defeated the Castilian forces outside Seville on 2 August and took several castles along the
Guadalquivir river before retiring to Algeciras on 29 August. Abu Yusuf marched again on 30 October, this time joined by Muhammad near
Archidona. They took the castle of
Benamejí, encircled
Córdoba and pillaged the surrounding towns. Either Alfonso or the towns affected by the war sued for peace, which was accepted by Muhammad and Abu Yusuf. Abu Yusuf retired to Algeciras on 28 November, concluded a truce on 24 February 1278, and returned to Morocco in May. Although the Marinids had won a battlefield victory and the Muslim forces plundered multiple towns, they failed to take any major settlement or permanently annex Christian territories. On the other hands, the ports of Tarifa and Algeciras on the Strait, remained as the Marinids' outposts in the peninsula.
Diplomatic manoeuvring up to 1280 During Abu Yusuf's second expedition, the Banu Ashqilula handed over Málaga—their centre of power—to their new ally. This action was motivated by the fear that they could not defend it against Granada. The Marinids occupied it in mid-February 1278, and Abu Yusuf appointed his uncle, Umar ibn Yahya, as governor. Muhammad was alarmed at this Marinid encroachment on his domain, reminiscent of the actions of the Almoravids and Almohads, two previous North African Muslim dynasties which had annexed Al-Andalus after initially intervening against the Christians. He encouraged
Yaghmurasen of Tlemcen to attack the Marinids in North Africa, and Castile to attack the Marinids' Spanish base at Algeciras. Abu Yusuf, overstretched and attacked on multiple fronts, pulled back from Málaga and handed the city to Muhammad on 31 January 1279. It was also alleged that Granada bribed Umar ibn Yahya by giving him the castle of
Salobreña and fifty thousand
gold dinars. Muhammad named his cousin and close advisor Abu Said Faraj governor. With Málaga in his hands, Muhammad then helped the Marinids defend Algeciras, possibly feeling guilty about the sufferings of the besieged Muslims in the city. Joint Marinid–Granadan forces
defeated the Castilian besiegers in 1279. Castilian sources at the time seemed not to realise the Granadan involvement and thought they were defeated solely by the Marinids.
War on two fronts The manoeuvring that saw the gain of Málaga and prevented Castile from taking Algeciras angered both the Marinids and Castile. Both, together with the Banu Ashqilula, attacked Muhammad in 1280. The Marinids and Banu Ashqilula moved towards Málaga, unsuccessfully attacking the region of
Marbella in the south. Castile attacked from the north, led by the
infante (prince)
Sancho (later Sancho IV), son of Alfonso, who was checked by the North African
Volunteers of the Faith led by Ibn Muhalli and Tashufin ibn Mu'ti. The Volunteers were a component of Granada's military made up of warriors from North Africa, largely political exiles who migrated with their families and tribes. They still defended Granada against Castile despite Granada also being at war with the Marinid state which they came from. On 23 June, Granadan troops ambushed a large Castilian force at Moclín. In June 1281, Castile invaded again, led by Alfonso himself and accompanied by the Infantes Sancho, Peter and John. They defeated Muhammad in a battle near Granada's walls on 25 June, but after the failure of the negotiations that followed, the Castilians left Granada. At the end of 1281, Alfonso sent Sancho to Granada for further negotiations and Muhammad agreed to renew his vassalage to Castile. However, Alfonso accused Sancho of acting treacherously and of appropriating Muhammad's tribute. A rift broke out between the king and his son, which weakened the Castilian threat to Granada. Alfonso ended up asking for Abu Yusuf's help against Sancho, and the two monarchs campaigned together against Sancho's partisans in Castile. Meanwhile, Muhammad sealed an alliance with Sancho at Priego in late 1282. At the end of 1283, Abu Yusuf attacked Málaga, forcing Muhammad to sue for peace. Mediated by Abu Yusuf's son,
Abu Yaqub Yusuf, they agreed to reconcile and attack the Christians together. Alfonso died in 1284, and was succeeded by Sancho. Sancho was friendly towards Granada and pulled back the Castilian troops, while Muhammad declared his vassalage to him. In 1286 Abu Yusuf died and was succeeded by his son Abu Yaqub. At the beginning of his reign Abu Yaqub was more preoccupied with domestic affairs, and so withdrew his forces from the Iberian campaign. In 1288 Abu Yaqub offered the Banu Ashqilula lands in North Africa. The clan took up the offer and emigrated
en masse from Granadan territory.
Tarifa campaigns take
Tarifa from the Marinids, but the Castilian king then refused to yield the town to Muhammad as promised.Picture: A statue commemorating Sancho's taking of Tarifa. The Marinids retained outposts in Iberia, including
Tarifa, an important port town on the Strait of Gibraltar. In 1290, Muhammad came to an arrangement with Sancho and the ruler of Tlemcen. Castile would attack Tarifa, Granada would attack other Marinid possessions, and Tlemcen would open hostilities against the Marinids in North Africa. According to the agreement, Castile would then hand Tarifa to Granada in exchange for six border fortresses. In November and December 1291,
James II of Aragon met Sancho and agreed to join the war against the Marinids. In October 1292 Castile, with assistance from Aragon's navy and supplied by Granada, succeeded in taking Tarifa. Castile also took the six border fortresses from Granada as agreed, but refused to cede Tarifa even after Muhammad met with Sancho in Córdoba in December. Granada, feeling cheated, then switched sides to the Marinids. Muhammad travelled to North Africa and met Abu Ya'qub at
Tangier on 24 October, bearing many gifts and asking his friendship and forgiveness. Both monarchs agreed to an alliance against Castile. In 1294, the Marinids and Granada unsuccessfully besieged Tarifa. The town would never again be in Muslim hands. After this failure, the Marinids decided to withdraw to North Africa. Granada proceeded to retake its former outposts, including Algeciras and—after some local resistance—
Ronda.
Final years and death , captured by Muhammad in 1295 and one of Granada's territorial gains during his reign. In 1295, Sancho died and was succeeded by his nine-year-old son
Ferdinand IV. During his minority Castile was governed by a regency led by his uncle,
Infante Henry. His cousin,
Alfonso de la Cerda made a rival claim for the throne, supported by James of Aragon. Muhammad exploited this situation to strike at Castile: in late 1295 he captured
Quesada and routed a Castilian army at the
Battle of Iznalloz. Ferdinand was also attacked by Aragon,
Denis of Portugal, and his uncle,
Infante John. In 1296, Granada and Aragon concluded a pact of friendship and agreed to split their objectives:
Murcia would go to Aragon and
Andalusia to Granada. In June 1296, Infante Henry made peace overtures to Muhammad, offering to hand over Tarifa, but this broke down when the town's commander, Alfonso Pérez de Guzmán, declared that he would not hand it over even if ordered to do so. Late that year, Granadan forces defeated Infante Henry near Arjona and nearly captured him. Henry's horse was captured, but Muhammad ordered it returned in a gesture of chivalry. The Marinids joined the war to support Granada and defeated Castile in a major battle near Seville in May or June 1299; they then laid siege to Tarifa. Castile renewed the offer to yield Tarifa in exchange for an alliance with Granada, but this was again frustrated by Alfonso Pérez's refusal to comply. The war continued and Muhammad took more border fortresses, including
Alcaudete in June 1299, and raided Castilian cities including
Jaén and
Andújar. In April 1301, Muhammad and James renewed their alliance, although James secretly sent supplies to the besieged Christians in Tarifa. On 6 September,
Pope Boniface VIII declared Ferdinand the legitimate king of Castile, weakening the resolve and legitimacy of his Christian enemies. In September 1301, Granada and Aragon renewed their alliance at
Zaragoza. They planned a new offensive against Castile and aligned their war goals; among others they agreed that Granada was to regain Tarifa and acquire several frontier towns. This agreement was ratified in January 1302, and subsequently Alfonso de la Cerda also joined the alliance and recognised Muhammad's rights to Tarifa. However, before the campaign started, Muhammad II died on 8 April 1302 (8 Shaban 701
AH). He was succeeded by his son, Muhammad III. There were allegations that Muhammad III, perhaps impatient to assume power, had poisoned his father, although this was never confirmed. == Governance and legacy ==