 Shining Path was confined to their former headquarters in the Peruvian jungle and continued smaller attacks against the military, like the one that occurred on October 2, 1999, when a Peruvian Army helicopter was shot down by SP guerrillas near Satipo (killing 5) and stealing a PKM machine gun which was reportedly used in another attack against an Mi-17 in July 2003.Despite Shining Path being mostly defeated, more than 25% of Peru's national territory remained under a state of emergency until early 2000.Alberto Fujimori resigned the Presidency in 2000, but Congress declared him "morally unfit", installing the opposite congress member Valentín Paniagua into office.