Before becoming a caliph, in 780 and again in 782, Hārūn had already nominally led campaigns against the Caliphate's traditional enemy, the , ruled by.
Al-Ma'mun became caliph in 813 and ruled the caliphate for two decades until 833.
The presents were unprecedented in Western Europe and may have influenced art.