On 6 April 1964, Somalia and Ethiopia agreed to a cease-fire. At the end of the month, the two sides signed an accord in Khartoum, Sudan, agreeing to withdraw their troops from the border, cease hostile propaganda, and start peace negotiations.[5][6] The border war also led the Organisation of African Unity to pass the Cairo declaration in July 1964 that called on all member states to respect existing borders.[7] Somalia's loss mostly marked the end of the Somali insurrection in the Ogaden for a time,[4] but it would be restarted before Somalia's next attempt to annex the Ogaden with the Ogaden War in 1977.