 Badr al @-@ Jamali was also a noted builder , sponsoring numerous state architectural projects and restoration works during his rule from 1074 – 1094 , particularly with mosques , restoring minarets in Upper Egypt and building mosques in Lower Egypt . He also built many of the gates and fortifications in Cairo . 
