 Saladin, who became Sultan of Egypt shortly thereafter, ordered the rebuilding of Fustat.Also in 1168, the Jewish philosopher, physician and astronomer Maimonides settled in Fustat, within a short walk of Ben Ezra Synagogue.He lived there until his death in 1204.