Moroccan literature is written in Arabic, Berber and French. It also contains literature produced in Al-Andalus. Under the Almohad dynasty Morocco experienced a period of prosperity and brilliance of learning. The Almohad built the Marrakech Koutoubia Mosque, which accommodated no fewer than 25,000 people, but was also famed for its books, manuscripts, libraries and book shops, which gave it its name; the first book bazaar in history. The Almohad Caliph Abu Yakub had a great love for collecting books. He founded a great library, which was eventually carried to the Casbah and turned into a public library.
Modern Moroccan literature began in the 1930s. Two main factors gave Morocco a pulse toward witnessing the birth of a modern literature. Morocco, as a French and Spanish protectorate left Moroccan intellectuals the opportunity to exchange and to produce literary works freely enjoying the contact of other Arabic literature and Europe.
During the 1950s and 1960s, Morocco was a refuge and artistic centre and attracted writers as Paul Bowles, Tennessee Williams and William S. Burroughs. Moroccan literature flourished with novelists such as Mohamed Zafzaf and Mohamed Choukri, who wrote in Arabic, and Driss Chraïbi and Tahar Ben Jelloun who wrote in French. Other important Moroccan authors include, Abdellatif Laabi, Fouad Laroui, Mohammed Berrada and Leila Abouzeid. It should be noted also, that orature (oral literature) is an integral part of Moroccan culture, be it in Moroccan Arabic or Amazigh.