In the 1960s, Beijing competed with Moscow for political influence among communist parties and in the developing world generally. In 1962, China had a brief war with India over a border dispute. By 1969, relations with Moscow were so tense that fighting erupted along their common border. Following the Warsaw Pact invasion of Czechoslovakia and clashes in 1969 on the Sino-Soviet border, Chinese competition with the Soviet Union increasingly reflected concern over China's own strategic position. China then lessened its anti-Western rhetoric and began developing formal diplomatic relations with West European nations.