In 827 he was converted to the heterodox faith of the Moʿtazilites, who asserted the free-will of man and denied the eternity of the Koran. The later years (829–830) of his reign were distracted by hostilities with the Greek emperor Theophilus, while a series of revolts in different parts of the Arabian empire betokened the decline of the military glory of the caliphs. Spain and part of Africa had already asserted their independence, and Egypt and Syria were now inclined to follow. In 833, after quelling Egypt, at least nominally, Mamun marched into Cilicia to prosecute the war with the Greeks, but died near Tarsus, leaving his crown to a younger brother, Motasim. The death of Mamun ended an important epoch in the history of science and letters and the period of Arabian prosperity which his father's reign had begun.
See further under Caliphate, sect. C., §§ 5, 6, 7.