Battle of Tarifa and the Testing of the Muslims

واقعة طريف وتمحيص المسلمين

30 October 1340 CE · 9 Rabi' I 741 AH

Tarifa

Sultan Abu al-Hasan crossed in late 740 and encamped before Tarifa; Yusuf I of Granada joined him with the Andalus army, they ringed the town and set engines — but the Taghiya's second fleet sealed the Strait, starved the camp, and he mustered the Christian nations with Afonso of Portugal at his side; a hidden force he slipped into Tarifa by night burst on the Muslim rear as battle joined, their lines dissolved, the royal women were taken — Aisha the sultan's cousin and Fatima among them — and the Christian king's power over the Andalus frontier was sealed 1.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Era
The Mongol and Post-Mongol Era
Region
al-Andalus & Europe · Maghreb

In time

133013401350
The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era

In space

Tarifa

Map: Natural Earth, public domain · places and route from the graph

Sides

The Castile-Portugal alliance

The Marinids and Nasrids

Overview

The battle of Tarifa, which Ibn Khaldun calls "the battle of Tarifa and the testing of the Muslims". In it the sultan of the Maghrib, Abu al-Hasan al-Marini, and the sultan of al-Andalus, Abu al-Hajjaj Yusuf, met the army of the king of Castile, Alfonso XI, and it ended in the defeat of the Muslims. 2

Before the battle

Abu al-Hasan crossed with his fleet at the end of 740 AH and camped at the square of Tarifa. Abu al-Hajjaj came to him with the army of al-Andalus, and they surrounded the town and set up the siege engines. 2

The Christian side sent out a fleet that blocked the strait and cut off the supplies to the camp, so the Muslims' stay lengthened and their provisions ran out. The lord of Lisbon of Portugal joined the king of Castile. 2

The battle

Ibn Khaldun relates that an ambush force entered Tarifa by night. When the fighting broke out the next day, it appeared on the backs of the Muslims, their line was broken, and they retreated. Women who defended themselves were killed, and the Christians reached the concubines of the sultan. 2

Ibn Khaldun describes the defeat as a "testing" of the Muslims, and mentions that the king of Castile grew strong by it over the frontiers of al-Andalus. 2

The Gregorian date is derived from the Hijri year.

Connections

Explore the connections

Had participant
Alfonso XI of Castile· Abu al-Hasan al-Marini, sultan of the Maghrib· Sultan Yusuf I Abu al-Hajjaj al-Nasri
Occurred at
Tarifa

People and things also explored

Battle of Río Salado· Naval battle of the Strait and the taking of the Muslim fleet· The fall of al-Jazira al-Khadra and the breaking of the fleet· The Kairouan disaster· Abu al-Hasan al-Marini's entry into Ifriqiya· Abu al-Hasan Ali, sultan of Granada· Abu Inan Faris al-Marini· Sultan Muhammad V al-Nasri

Sources

  1. Kitab al-Ibar of Ibn Khaldun , p. 1965-1966
  2. Kitab al-Ibar of Ibn Khaldun , p.1965-1966
Cite this page

islam.museum contributors. “Battle of Tarifa and the Testing of the Muslims”. islam.museum, https://islam.museum/en/event/battle-of-tarifa-741/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

Battle of Río Salado

The Battle of the Río Salado near Tarifa in 1340, Castile and Portugal's victory over the Marinids and Granada.