text:  [4] The Almoravide and Almohade princes who ruled both in Spain and Africa often inserted a clause in their treaties with the Christians for the restoration of the libraries captured in the towns taken from the Moslems; and Ibn Khaldun mentions that Yakob Al-mansor destined a college at Fez for the reception of the books thus recovered