 After the decay of the Fatimid political system in the 1160s, the Zengid ruler Nūr ad-Dīn had his general, Shirkuh, seize Egypt from the vizier Shawar in 1169.Shirkuh died two months after taking power, and rule passed to his nephew, Saladin.This began the Ayyubid Sultanate of Egypt and Syria.