The boundary with Laos, was settled on both an ethnic and geographical basis, between the rulers of Vietnam and Laos in the mid-seventeenth century. The Annamite Range as a reference, was formally defined by a delimitation treaty signed in 1977 and ratified in 1986. The frontier with Cambodia, defined at the time of French annexation of the western part of the Mekong Delta in 1867, remained essentially unchanged, according to Hanoi, until some unresolved border issues were finally settled in the 1982–85 period. The land and sea boundary with China, delineated under the France-China treaties of 1887 and 1895, is "the frontier line" accepted by Hanoi. China agreed in 1957–58 to respect that border line. However, in February 1979, following the Sino-Vietnamese War, Hanoi complained that from 1957 onward China had provoked numerous border incidents as part of its anti-Vietnam policy and expansionist designs in Southeast Asia. Among the territorial infringements cited was the Chinese occupation in January 1974 of the Paracel Islands, claimed by both countries in a dispute left unresolved in the 1980s.