Question: Zayyan ibn Mardanish or Zayán Ibn Mardanix, died in Tunisia, a country in North Africa, on which continent?
Context: Bernat Guillem d'Entença, (Spanish:Bernardo Guillermo de Entenza), (b. ?  - d. El Puig, 1237) was a Spanish noble of the Catalan-Aragonese House of Entença.  He was the señor of Fraga.  He was best known for his participation in the Spanish Reconquista in the campaign for control over Valencia (Balensiya), culminating with his victory over Zayyan ibn Mardanish at the Battle of the Puig where he died. Tunisia (Arabic: تونس‎ ‎ "  "; French: "Tunisie" ), officially the Republic of Tunisia (Arabic: الجمهورية التونسية‎ ‎ "  ") is a country in North Africa, covering 165,000 km2 .  Its northernmost point, Cape Angela, is the northernmost point on the African continent.  It is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east.  Tunisia's population was estimated to be just under 11,93 million in 2016.  Tunisia's name is derived from its capital city, Tunis, which is located on Tunisia's northeast coast. Abu Jafar Ahmad ibn Yusuf ibn al‐Kammad (died 1195) was a Muslim astronomer born in Seville, Al-Andalus.  He is known to have been educated in Cordoba by the students of Al-Zarqali.  His works such as "al Kawr ala al dawr, al Amad ala al abad", and "al Muqtabas", which is a compilation of the two previous Zij, made him famous not only on the Iberian peninsula but across North Africa, and specifically Tunisia, where the astronomer Ibn Ishaq al Tunisi wrote commentaries on his works. The Battle of the Puig of 1237, also known as the Battle of the Puig de Santa Maria, the Battle of the Puig de Enesa, or the Battle of the Puig de Cepolla was a battle of the Spanish Reconquista and of the Aragonese Conquest of Valencia.  The battle took place in August 1237, pitting the forces of the Crown of Aragon, under the command of Bernat Guillem d'Entença, against the forces of the Taifa of Valencia, under the command of Zayyan ibn Mardanish.  The battle resulted in a decisive Aragonese victory and the conquest of Valencia by the crown of Aragon. Zayyan ibn Mardanish or Zayán Ibn Mardanix (b. ? , Onda – d. 1270, Tunisia) also known as "Zahén" or "Çaèn", was the last king of the Taifa of Valencia before it fell to the Kingdom of Aragon in the Reconquista campaign led by James I of Aragon. Muhammad Ibn Battuta or Ibn Baṭūṭah ( ; Arabic: محمد ابن بطوطة‎ ‎ ); February 25, 13041368 or 1369), fully ʾAbū ʿAbd al-Lāh Muḥammad ibn ʿAbd al-Lāh l-Lawātī ṭ-Ṭanǧī ibn Baṭūṭah (أبو عبد الله محمد بن عبد الله اللواتي الطنجي بن بطوطة ), was a Moroccan scholar who widely travelled the medieval world.  Over a period of thirty years, Ibn Battuta visited most of the Islamic world and many non-Muslim lands, including North Africa, the Horn of Africa, West Africa, the Middle East, India, Central Asia, Southeast Asia, and China.  Near the end of his life, he dictated an account of his journeys, titled A Gift to Those Who Contemplate the Wonders of Cities and the Marvels of Travelling (تحفة النظار في غرائب الأمصار وعجائب الأسفار , "Tuḥfat an-Nuẓẓār fī Gharāʾib al-Amṣār wa ʿAjāʾib al-Asfār"), usually simply referred to as TheTravels (الرحلة , "Rihla").  This account of his journeys provides a picture of medieval civilization that is still widely consulted today. Abd-ar-Rahman III (′Abd ar-Rahmān ibn Muhammad ibn ′Abd Allāh ibn Muhammad ibn ′abd ar-Rahman ibn al-Hakam ar-Rabdi ibn Hisham ibn ′abd ar-Rahman ad-Dakhil; Arabic: عبد الرحمن الثالث‎ ‎ ; 11 January 889/9115 October 961) was the Emir and Caliph of Córdoba (912–961) of the Umayyad dynasty in al-Andalus.  Called "al-Nasir li-Din Allah" ("the Defender of God's Faith"), he ascended the throne in his early 20s, and reigned for half a century as the most powerful prince of Iberia.  Although people of all creeds enjoyed tolerance and freedom of religion under his rule, he repelled the Fatimids, partly by supporting their Maghrawa enemies in North Africa, and partly by claiming the title Caliph (ruler of the Islamic world) for himself. Tag al-Din Abu'l Fadl Ahmad ibn Muhammad ibn 'Abd al-Karim ibn Ata Allah al-Iskandari al-Shazili was an Egyptian Malikite jurist, muhaddith and the third murshid (spiritual "guide" or "master") of the Shadhili Sufi order.  He was born in Alexandria and taught at both the al-Azhar Mosque and the Mansuriyyah madrasa in Cairo.  He was responsible for systematizing Shadhili doctrines and recording the biographies of the order's founder, Abu-l-Hassan ash-Shadhili, and his successor, Abu al-Abbas al-Mursi.  He is credited with having authored the first systematic treatise on dhikr, "The Key to Salvation" ("Miftah al-Falah"), but is mostly known for his compilation of aphorisms, the "Hikam al-‘Ata‘iyya".  Commentaries on the "Hikam" have been made by some of the most famous masters of the Shadhili order such as Ibn Abbad al-Rundi, Ahmad Zarruq and Ahmad ibn Ajiba as well as non-Shadhilis like the Islamic law Professor Sa'id Ramadan al-Bouti.  The wide circulation of Ibn ‘Ata‘ Allah's written works led to the spread of the Shadhili order in North Africa, where the order's founder had been rejected in earlier attempts.  The Wafai Sufi order was also derived from his works.  He died in 1309 while in Cairo. North Africa is a group of Mediterranean countries situated in the northern-most region of the African continent.  The term "North Africa" has no single accepted definition.  It is sometimes defined as stretching from the Atlantic shores of Morocco in the west, to the Suez Canal and the Red Sea in the east.  Others have limited it to the countries of Morocco, Algeria, and Tunisia, a region known by the French during colonial times as “Afrique du Nord” and by the Arabs as the Maghreb (“West”).  The most commonly accepted definition includes Morocco, Algeria, and Tunisia, as well as Libya, Sudan, and Egypt.  The term “North Africa”, when commonly used in North Africa and the Middle East, often refers only to the countries of the Maghreb and Libya.  Egypt, due to its greater Middle Eastern associations, is in the Middle East. The Battle of Vescera (modern Biskra in Algeria) was fought in 682 or 683 between the Berbers of king Caecilius and their Byzantine allies from the Exarchate of Carthage against an Umayyad Arab army under Uqba ibn Nafi (the founder of Kairouan).  Uqba ibn Nafi had led his men in an expedition across north Africa, eventually reaching the Atlantic Ocean and marching as far south as the Draa and Sous rivers.  On his return, he was ambushed by the Berber-Byzantine coalition at Tehouda (Thabudeos) south Vescera, defeated and killed.  As a result of this crushing defeat, the Arabs were expelled from the area of modern Tunisia for a decade.
Answer: Africa