This intervention was a momentous event in the history of the Fatimid regime and Egypt: the country, enfeebled by the constant civil wars, now became a prize in the contest between Damascus and Jerusalem, a process that would end with the abolition of the Fatimid Caliphate itself by Saladin in 1171.