A national emergency can be declared in the whole of India or a part of its territory for causes of war or armed rebellion or an external aggression. Such an emergency was declared in India in 1962 (Indo-China war), 1971 (Indo-Pakistan war), and 1975 to 1977 (declared by Indira Gandhi).[see main]