In 1950, India became one of the first countries to recognize People's Republic of China and establish formal diplomatic relation. However, India had close ties to the USSR and in 1962, a one-month Sino-Indian war and also a one-month Second Sino-Indian war in 1967 broke out along their remote border. Border tensions flared from time to time ever since.