Skip to main content
Ibn Khaldun in Granada: fourteenth-century scholar in a long robe crossing a sunlit Nasrid courtyard, slender columns and arcade behind, a small fountain in the foreground, warm afternoon light

Ibn Khaldun and Ibn Battuta Came to Nasrid Granada

Ibn Battuta reached Granada in 1350 and never met the sultan; Ibn Khaldun came in the early 1360s and fell out with Ibn al-Khatib. What each saw at court.

Portrait of James Walker
Written by

Seven years resident in Granada. Specialist in Nasrid architecture, Al-Andalus history, and Andalusian walking routes.

Published
Nasrid Granada1238–1492
Ibn Battuta reached Granada in 1350 and never got his audience with the sultan, because an illness kept them apart.[1] Ibn Khaldun arrived around 1363 or 1364 (sources differ), stayed a year or two, was sent on an embassy, and left once the vizier had turned against him.[32][36] Only one of the two was let in far enough to make enemies.
Battuta sails for Gibraltar
April 1350
He sailed with a small band of volunteer fighters[2]
Battuta's lifetime travels
75,000 miles
Distance covered by the journeys his Rihla describes[3]
Ibn Khaldun in Granada
1363–1365
Andalusi Legacy's dating; other accounts shift it a year[32]

Ibn Battuta, April 1350: a soldier who turned sightseer

Ibn Battuta sailed for Gibraltar in April 1350 with a small band of volunteer fighters,[2] a man whose wanderings would eventually add up to some 75,000 miles.[3] He traded the soldier's role for a sightseer's and went on into al-Andalus.[4]
Granada then held about 50,000 people.[5] Its Nasrid sultan, Yusuf I, was in the middle of beautifying the courtyards of the Alhambra, the red fort on the hill.[6]
Battuta never got to judge that work from the sultan's side of the door. In the Rihla he says an illness kept him from meeting Yusuf,[1] and it was the sultan's mother who sent the stranger a purse of gold coins.[7] So the best-known outsider's account of Nasrid Granada comes from a man who was paid, but not received.

What the Rihla notices in Granada

Ibn Battuta's Granada is a city of superlatives. He calls it "the metropolis of Andalusia and the bride of its cities",[8] and then, characteristically, heads straight for the surroundings.
“The metropolis of Andalusia and the bride of its cities.[8]”
Ibn Battuta , The Rihla (1350)
His eye leaves the walls first, for the hill of Ayn ad-dama, the Fountain of Tears, which he found covered in gardens and orchards.[9] Scholars of the Aynadamar water system count him among the travellers who described the great spring at Alfacar.[10]
The Alhambra palace complex viewed from the Albaicin hillside, with the Sierra Nevada mountains behind

Explore nearby · Monument

Alhambra

The Alhambra is Granada's UNESCO fortress-palace: Nasrid Palaces, Alcazaba and Generalife gardens. Tickets sell out weeks ahead; book via the Patronato site.

Inside the city he records people rather than buildings. A company of Persian dervishes had settled there, drawn from places as far apart as Samarqand, Tabriz, Konya, Khurasan and India, because Granada reminded them of home.[11] In a jurist's house he met a 28-year-old named Ibn Juzayy,[12] the man who would later write the whole Rihla down. The sultan he missed matters less to the book than the young scholar he met.

Ibn Khaldun crosses from Fez with a friend at court

Ibn Khaldun came to Granada with a long family memory of Spain and no home in it. He was born in Tunis in 1332,[13] into a family that had left Seville before Castile took it,[14] and in 1349 the Black Death took both his parents.[15]
By the early 1360s he was working in Fez, where he had helped the exiled Muhammad V win back his throne.[16] That debt bought him a welcome in Granada, and the sultan's prime minister, Ibn al-Khatib, was already a friend.[17] Sources date the visit differently: the Andalusi Legacy foundation places his time in Seville and Granada between 1363 and 1365,[32] while the age of 32 given for his arrival points to about 1364.[18]
The friend was also the establishment. Ibn al-Khatib was born in Loja in 1313, nearly twenty years his senior,[19] a minister who wrote as brilliantly as he governed.[17]
1066 Granada massacre scene in Jewish history: a mob attacking the Jewish quarter of Nasrid-era Granada at dusk, the Alhambra hill silhouetted in the background, smoke rising over whitewashed rooftops, sombre red and amber tones

Deep dive · Article

1066 Granada Massacre: When the Jewish Golden Age Ended in a Day

The 1066 Granada massacre killed Joseph ha-Nagid and thousands of the city's Jews in a single day, ending three decades of Jewish power under Samuel ha-Nagid.

Where an illness had kept Ibn Battuta outside the sultan's door, Ibn Khaldun was let in and given work. A city where Persian dervishes felt at home was also a fair place for a Sevillian family's son from Tunis, and for a man who would later write an introduction to history itself, a small dynasty in its mountain refuge was a close view of statecraft.

An embassy to Seville, a village from the sultan, a quarrel with the vizier

Granada kept Ibn Khaldun busy. Three things came out of those years:

  • a work on logic, composed at Muhammad V's court during the stay (1363 to 1365 on the Andalusi Legacy dating)[20][32]
  • an embassy to Seville to conclude a peace treaty with Pedro I of Castile, dated 1363 by one account and 1364 by others[21][33]
  • a village that the sultan gave him on his return, and that he gladly accepted[22]
The embassy had its own irony. His ancestors had left Seville before Castile took it,[14] and he went back as Granada's envoy, sent to settle terms with Pedro I.[21] He met the king in the Royal Alcázar of Seville, a Mudejar palace that still stands.[34] Treaty-making of this kind kept the state alive, as Nasrid diplomacy with Castile and the Marinids shows.
Success at court was where the trouble began. Ibn Khaldun tried to mould the young sultan into a wise ruler, an effort Ibn al-Khatib thought foolish and a danger to the peace of the country.[23] Enemies turned the vizier against him, helped, it seems, by jealousy between the two most brilliant intellectuals of their age, and Ibn Khaldun went back to Africa.[24] He left Granada about 1364 or 1365, when a friend who had recaptured the throne of Bougie invited him there.[35]
His own autobiography says little about the quarrel. Muhsin Mahdi reads that silence as Ibn Khaldun admitting to himself, later, that he had badly misjudged Muhammad V.[25] The historian had misread the court he was standing in.

What is left of their Granada, Ibn al-Khatib's end and the Muqaddimah

Scholars count Ibn Battuta among those who described the great spring at Alfacar, the Fountain of Tears.[10] Ibn Khaldun came back to Granada once more and could not save his old rival and friend.[26] Ibn al-Khatib died in Fez in 1374 or 1375,[19] having sent Ibn Khaldun a last poem when he saw the end coming.[27]
Ibn Khaldun lamented the death in writing, though the friendship had been tense at times.[28] The years that followed produced the Muqaddimah, written during more than three years of seclusion in a fortress where Berber tribes sheltered him.[29] Franz Rosenthal translated it into English in three volumes.[30]
The Granada both men saw was at its peak. The Alhambra reached its full splendour in the second half of the fourteenth century, in the reign of Yusuf I, which Ibn Battuta glimpsed, and the second reign of Muhammad V, which Ibn Khaldun served.[31]
Ibn Khaldun's patron governed from rooms mapped in the Alhambra's political history, and the walls carry the verse and mottos read in Nasrid inscriptions and their meaning. Set Ibn Battuta's praise beside Ibn Khaldun's quarrel and you see the court from both sides of its door: one outsider turned away by illness, one insider undone by rivalry.

Frequently asked questions

When was Ibn Khaldun in Granada?

He arrived from Fez around 1363 or 1364 (sources differ), stayed a year or two, and served the Nasrid sultan Muhammad V. He later returned once more, in a failed attempt to save Ibn al-Khatib.

Why did Ibn Khaldun go to Granada?

He had helped Muhammad V regain his throne while in Fez, and Muhammad's prime minister, Ibn al-Khatib, was a friend. That made Granada a safe place to go.

Did Ibn Battuta meet the sultan of Granada?

No. He reached Granada in 1350, in the reign of Yusuf I, and says in the Rihla that an illness kept them apart. The sultan's mother sent him a purse of gold coins.

What did Ibn Battuta say about Granada?

He called it the metropolis of Andalusia and the bride of its cities, described the gardens and orchards of the Fountain of Tears hill, and noted a company of Persian dervishes who had settled there.

Why did Ibn Khaldun fall out with Ibn al-Khatib?

Ibn Khaldun tried to shape the young Muhammad V into a wise ruler, which Ibn al-Khatib thought foolish and dangerous to the peace. Court enemies and jealousy between the two did the rest.

Who was Ibn Juzayy, whom Ibn Battuta met in Granada?

A 28-year-old he met in a jurist's house in the city. He later wrote down the full Rihla, the book that made Ibn Battuta's travels known.

Were Ibn Khaldun and Ibn Battuta in Granada at the same time?

No. Ibn Battuta came in 1350 under Yusuf I. Ibn Khaldun arrived about a dozen years later, around 1363 or 1364, under Muhammad V.

Is there an English translation of Ibn Khaldun's Muqaddimah?

Yes. Franz Rosenthal translated it into English in three volumes, under the title The Muqaddimah: An Introduction to History.

Sources

36 references Show
  1. rolfgross.dreamhosters.com (opens in a new tab)

    “I did not meet him on account of an illness”

  2. orias.berkeley.edu (opens in a new tab)

    “So he set off by boat with a small group of passionate warriors to Gibraltar in April, 1350.”

  3. Britannica — Ibn Battuta (opens in a new tab)

    “His great work describes his extensive travels covering some 75,000 miles (120,000 km)”

  4. orias.berkeley.edu (opens in a new tab)

    “But he decided to continue on into al-Andalus as a tourist, not as a soldier.”

  5. orias.berkeley.edu (opens in a new tab)

    “Granada was a city of about 50,000.”

  6. orias.berkeley.edu (opens in a new tab)

    “Ibn Battuta saw Granada in the reign of Yusuf I (1333-54), a successful sultan who was beautifying the courtyards of the Alhambra, "the red fort."”

  7. orias.berkeley.edu (opens in a new tab)

    “Ibn Battuta may not have met the sultan himself because of the ruler's illness, but the sultan's mother sent him a purse of gold coins.”

  8. rolfgross.dreamhosters.com (opens in a new tab)

    “the metropolis of Andalusia and the bride of its cities.”

  9. rolfgross.dreamhosters.com (opens in a new tab)

    “'Ayn ad-dama' [the Fountain of Tears, Adinamar], which is a hill covered with gardens and orchards”

  10. revistas.um.es (opens in a new tab)

    “XVI: Ibn al-Jatib, Ibn Jatima, Ibn Battuta, Navagiero, Mármol Carvajal, Henriquez”

  11. rolfgross.dreamhosters.com (opens in a new tab)

    “Among them is a company of Persian darwishes, who have made their homes there because of its resemblance to their native lands.”

  12. orias.berkeley.edu (opens in a new tab)

    “In the home of one jurist he met a 28-year-old named Ibn Juzayy.”

  13. Britannica — Ibn Khaldun (opens in a new tab)

    “Ibn Khaldūn was born in Tunis in 1332”

  14. Britannica — Ibn Khaldun (opens in a new tab)

    “in 1248, just before the fall of Sevilla and Córdoba, the Ibn Khaldūns and many of their countrymen judged it prudent to cross the Straits of Gibraltar”

  15. Britannica — Ibn Khaldun (opens in a new tab)

    “In 1349, however, the Black Death struck Tunis and took away both his father and his mother.”

  16. Wikipedia — Ibn Khaldun (opens in a new tab)

    “He could be sure of a positive welcome there since at Fez, he had helped the Sultan of Granada, the Nasrid Muhammad V, regain power from his temporary exile.”

  17. Britannica — Ibn Khaldun (opens in a new tab)

    “for whose Muslim ruler he had done some service in Fez and whose prime minister, the brilliant writer Ibn al-Khaṭīb, was a good friend”

  18. Britannica — Ibn Khaldun (opens in a new tab)

    “Ibn Khaldūn was then 32 years old.”

  19. legadoandalusi.es — Ibn al khatib (opens in a new tab)

    “Muhammad Ibn Abd-Allah Ibn al-Khatib was born in Loja (Granada) in 1313 and died in Fez (Morocco) in 1375.”

  20. Wikipedia — Ibn Khaldun (opens in a new tab)

    “Whilst at the court of Muhammed V, Sultan of Granada, Ibn Khaldūn composed a work on logic”

  21. Britannica — Ibn Khaldun (opens in a new tab)

    “Ibn Khaldūn was sent to Sevilla to conclude a peace treaty with Pedro I of Castile.”

  22. Britannica — Ibn Khaldun (opens in a new tab)

    “He gladly accepted the village that the sultan of Granada bestowed on him”

  23. Wikipedia — Ibn Khaldun (opens in a new tab)

    “Ibn Khaldūn tried to shape the young Muhammad into his ideal of a wise ruler, an enterprise that Ibn al-Khatib thought foolish and a danger to peace in the country.”

  24. Britannica — Ibn Khaldun (opens in a new tab)

    “the apparent jealousy between the two most brilliant Arab intellectuals of the age”

  25. Wikipedia — Ibn Khaldun (opens in a new tab)

    “Twentieth century Orientalist Muhsin Mahdi interprets that as showing that Ibn Khaldūn later realised that he had completely misjudged Muhammad V.”

  26. Britannica — Ibn Khaldun (opens in a new tab)

    “once more to Granada, where he made an unsuccessful effort to save his old rival and friend”

  27. legadoandalusi.es — Ibn al khatib (opens in a new tab)

    “Ibn al-Khatib, foreseeing his inevitable death, sent a last poem to Ibn Khaldun”

  28. legadoandalusi.es — Ibn al khatib (opens in a new tab)

    “His friend, the historian Ibn Khaldun, with whom he kept a tense relationship at times, lamented his death this way:”

  29. Wikipedia — Ibn Khaldun (opens in a new tab)

    “He lived there for over three years under their protection, taking advantage of his seclusion to write the Muqaddimah”

  30. Wikipedia — Ibn Khaldun (opens in a new tab)

    “The Muqaddimah: An introduction to history. Translated from the Arabic by Franz Rosenthal. 3 vols.”

  31. Patronato de la Alhambra (opens in a new tab)

    “reaching its full splendor in the second half of the 14th century, coinciding with the sultanate of Yusuf I (1333-1354) and the second reign of Muhammad V (1362-1391).”

  32. legadoandalusi.es — Ibn khaldun the mediterranean in the 14th century rise and fall of the empires (opens in a new tab)

    “The museum project revolved around the visit of Ibn Khaldun to Seville and Granada between 1363 and 1365.”

  33. Wikipedia — Muhammad V of Granada (opens in a new tab)

    “used him as an ambassador to Seville in 1363.”

  34. legadoandalusi.es — Ibn khaldun the mediterranean in the 14th century rise and fall of the empires (opens in a new tab)

    “The magnificent Mudejar palace of the Royal Alcázar of Seville, witness to the interview held between Ibn Khaldun and Peter I The Cruel”

  35. islamicity.org (opens in a new tab)

    “in the following year, 766/1364, when he received an invitation from his friend Abū 'Abdallāh, who had recaptured his throne at Bougie, Ibn Khaldūn left Granada”

  36. Britannica — Ibn Khaldun (opens in a new tab)

    “turned the all-powerful prime minister, Ibn al-Khaṭīb, against him and raised suspicions regarding his loyalty”