China invaded India in October 1962 violating the peace treaties it signed with India. India was not prepared for this surprise attack and suffered many losses. Eventually, China declared a unilateral ceasefire and withdrew its troops to its pre-war position. It took more than a decade to resume normal relations. Full diplomatic relations were restored only in 1976.