Fatimid Caliphate
When Egypt became the capital of the Shi'ite Fatimid Caliphate (969-1171) governance and legislation developed. Furthermore, the city of Cairo became the capital of Egypt.