In 2000, Eritrea and Ethiopia signed the Algiers Agreement, which forwarded the border dispute to a Hague boundary commission. In the agreement, both parties agreed in advance to comply with the ruling of the border commission. In 2002, the commission ruled on where the boundary ran, placing Badme inside Eritrean territory.