Military tension between the two countries in the Kargil district led to the Kargil War of 1999, and turmoil in civic-military relations allowed General Pervez Musharraf to take over through a bloodless coup d'état. Musharraf governed Pakistan as chief executive from 1999 to 2001 and as President from 2001 to 2008—a period of enlightenment, social liberalism, extensive economic reforms, and direct involvement in the US-led war on terrorism. When the National Assembly historically completed its first full five-year term on 15 November 2007, the new elections were called by the Election Commission.