 On 12May 2000 the Supreme Court ordered the Government to hold general elections by 12October 2002.Ties with the United States were renewed by Musharraf who endorsed the American invasion of Afghanistan in 2001.Confrontation with India continued over Kashmir, which led to a serious military standoff in 2002 after India alleged Pakistan-backed Kashmiri insurgants carried out the 2001 Indian Parliament attack.