<Li> Djiboutian--Eritrean border conflict </Li> <P> The Eritrean--Ethiopian War, one of the conflicts in the Horn of Africa, took place between Ethiopia and Eritrea from May 1998 to June 2000, with the final peace only agreed to in 2018, twenty years after the initial confrontation . Eritrea and Ethiopia, two of the world's poorest countries, spent hundreds of millions of dollars on the war and suffered tens of thousands of casualties as a direct consequence of the conflict . Only minor border changes resulted . </P> <P> According to a ruling by an international commission in The Hague, Eritrea broke international law and triggered the war by invading Ethiopia . At the end of the war, Ethiopia held all of the disputed territory and had advanced into Eritrea . After the war ended, the Eritrea--Ethiopia Boundary Commission, a body founded by the UN, established that Badme, the disputed territory at the heart of the conflict, belongs to Eritrea . As of 2018, Ethiopia still occupies the territory near Badme, including the town of Badme . On 5 June 2018, the ruling coalition of Ethiopia, headed by Prime Minister Abiy Ahmed, agreed to fully implement the peace treaty signed with Eritrea in 2000, with peace declared by both parties in July 2018 . </P> <P> From 1961 until 1991, Eritrea had fought a long war of independence against Ethiopia . The Ethiopian Civil War began on 12 September 1974 when the Marxist Derg staged a coup d'état against Emperor Haile Selassie . It lasted until 1991 when the Ethiopian People's Revolutionary Democratic Front (EPRDF)--a coalition of rebel groups led by the Tigrayan People's Liberation Front (TPLF)--overthrew the Derg government and installed a transitional government in the Ethiopian capital Addis Ababa . The Derg government had been weakened by their loss of support due to the fall of communism in Eastern Europe . </P>

What caused the war between eritrea and ethiopia
find me the text answering this question