In June 2001, Musharraf dissolves parliament and names himself president, replacing Rafiq Tarar, while remaining army chief.
A month later, he meets Vajpayee in Agra, but leaves in a huff following differences over Kashmir.
Weeks later, 9/11 leads to a dramatic turnaround in Pakistan's policy, with Musharraf ditching the Taliban and supporting the US war on terror.
Musharraf takes the oath as president, June 20, 2001.
Photograph: Saeed Khan/AFP/Getty Images
On rediff: Kargil: Lessons to be learnt