Ahmad began a process of gradual economic and political liberalization, but by 1961 Sanaa was witnessing major demonstrations and riots demanding quicker reform and change. Pro-republican officers in the North Yemeni military sympathetic of Gamal Abdel Nasser of Egypt's government and pan-Arabist policies staged a coup overthrowing the Imamate government in September 1962, a week after Ahmad's death. Sanaa's role as a capital was restored afterward.