The armed forces succeeded the following India's independence in 1947. After World War II, many of the wartime troops were discharged and units disbanded. The reduced armed forces were partitioned between India and Pakistan. The Indian armed forces fought in all three wars against Pakistan and two wars against People's Republic of China in 1962 and 1967. India also fought in the Kargil War with Pakistan in 1999, the highest altitude mountain warfare in history. The Indian Armed Forces have participated in several United Nations peacekeeping operations and are presently the second largest contributor of troops to the peacekeeping force.