In 1169 Ibn Tufayl introduced Averroes to the Almohad caliph Abu Yaqub Yusuf. In a famous account reported by historian Abdelwahid al-Marrakushi the caliph asked Averroes whether the heavens had existed since eternity or had a beginning. Knowing this question was controversial and worried a wrong answer could put him in danger, Averroes did not answer. The caliph then elaborated the views of Plato, Aristotle and Muslim philosophers on the topic and discussed them with Ibn Tufayl. This display of knowledge put Averroes at ease; Averroes then explained his own views on the subject, which impressed the caliph. Averroes was similarly impressed by Abu Yaqub and later said the caliph had "a profuseness of learning I did not suspect".