Under the early Abbasids the caliphate attained its greatest splendour. The best known of them is Harun-al-Rashid (d. 809), who was a contemporary of Charlemagne and the Empress Irene, and is known to every one in legendary form through the Arabian Nights.