Fustat became a beautiful and powerful city for over 500 years, but then it was destroyed in 1168, when its vizier Shawar told his army to burn the city. Shawar did not want the crusaders to capture the city, so he burned it instead.