Abbasid Rule A 9th-century Ribat This fortification was built by Harthama b. Ayan in 796 in Monastir, Tunisia.