during the middle ages, egypt was ruled by a succession of islamic dynasties, and regencies were not uncommon. a famous example of a female regent is that of the fatimid sitt al-mulk, who became regent for her nephew ali az-zahir in 1021.