Conversely, other military dictatorships may gradually restore significant components of civilian government while the senior military commander still maintains executive political power. In Pakistan, ruling Generals Muhammad Zia-ul-Haq (1977–1988) and Pervez Musharraf (1999–2008) have held singular referendums to elect themselves President of Pakistan for additional terms forbidden by the constitution.