For nearly 200 years after Cairo was established, the administrative centre of Egypt remained in Fustat. However, in 1168 the Fatimid vizier Shawar set fire to Fustat to prevent its capture by Amalric, the Crusader king of Jerusalem. Egypt's capital was permanently moved to Cairo, which was eventually expanded to include the ruins of Fustat and the previous capitals of al-Askar and al-Qatta'i. As al Qahira expanded these earlier settlements were encompassed, and have since become part of the city of Cairo as it expanded and spread; they are now collectively known as "Old Cairo".