One of the most important of these powers—a legacy of General Muhammad Zia-ul-Haq—is the president's power to dissolve the National Assembly "in his discretion where, in has arisen in which the Government of the Federation cannot be carried on in accordance with the provisions of the Constitution and an appeal to the electorate is necessary." This power has twice been granted —by the Eighth Amendment in 1985 and by the Seventeenth Amendment in 2003—and has twice been revoked—by the Thirteenth Amendment in 1997 and by the Eighteenth Amendment in 2010. Despite this most recent power-stripping, the President remains the "ex officio" chair of the National Security Council, as per the National Security Act 2004.