CAIRO: Egypt’s president and his Eritrean counterpart met in Cairo on Monday amid heightened tensions with Sudan and Ethiopia over border disputes and the construction of a massive upstream Nile dam.

Egypt fears the soon-to-be completed dam in Ethiopia could cut into its share of the river, which provides nearly all its freshwater. Eritrea and Ethiopia have long been bitter rivals and went to war in the late 1990s. Ethiopia denies it is cutting into Egypt’s share of the Nile, and has accused Eritrea of training rebels to carry out sabotage attacks on the dam.

Egyptian President Abdul Fattah Al Sissi hosted Isaias Afwerki at the presidential palace. “The two sides have agreed on continuing intensive cooperation in all issues related to the current situation to support the security and stability in the region,” Egyptian presidency spokesman Bassam Radi said, referring to the Horn of Africa and the Red Sea strait of Bab Al Mandab as two major areas for ensuring stability.

Egypt’s relations with Sudan, which has lent support to Ethiopia in the Nile dispute, have meanwhile deteriorated.

Sudan recalled its ambassador for consultation last week, and has said a 2016 maritime demarcation agreement between Egypt and Saudi Arabia infringes on its territorial waters.