In 1999 after many years of negotiations, China and Vietnam signed a border pact. There was an adjustment of the land border, resulting in Vietnam giving China part of its land which were lost during the battle, including the Ai Nam Quan Gate which served as the traditional border marker and entry point between Vietnam and China, which caused widespread frustration within Vietnam.