Zeila. Instead, however, of a decision by force, both sides now agreed to negotiate. The result was an Anglo-French agreement of 1888 which defined the boundaries of the two protectorates as between Zeila and Jibuti: four years later the latter port became the official capital of the French colony." Fall of Harar in 1887 Ughaz Nur II went to Egypt and met Isma'il Pasha, the Khedive of Egypt, who honored him with medals and expensive gifts. The Ughaz there signed a treaty accepting Egyptian protection of Muslims in Somaliland and Ethiopia. According to I. M. Lewis, he was also gifted with firearms amongst other weapons. In 1884, two years after Britain took over Egypt, Britain also occupied Egyptian territories, especially the northern Somali coast. However Ughaz Nur II had little to do with the British, as long as they did not interfere with his rule, the customs of his people, and their trade routes. Ughaz Nur II had established strong relations with the Emir of Harar, Abdallah II ibn Ali. In 1887, when Harar was occupied by Menelik II of Ethiopia, Ughaz Nur II sent Gadabuursi askaris to support Abdallah II ibn Ali and in another historical account, he himself participated in the battle. Harar officially fell to Menelik in 1887. Ughaz Nur II recited lines of poetry lamenting the fall of Harar to Menelik in 1887: Ughaz Nur II was at first in a distinct and advantageous position, for not only did the caravan route to Harar run through Gadabuursi clan territory, but the Gadabuursi at the time were partly cultivating and so easier to control and tax. Yet for this very reason, after the 1897 Anglo-Egyptian Treaty, Ughaz Nur II, a far-sighted man, did everything in his power to prevent his people cultivating, for he realised that it would bring them under the control of the Amharic authority established at Harar. Colonel Stace (1893) mentioned that the Abyssinians were encroaching further into the Gadabuursi homeland near Harar: "The Abyssinians from Harar are encroaching more and more upon the Gadabursi country, as I anticipated would be the result of their unopposed occupation of Biyo Kaboba. I fear that they will make a permanent settlement in the Harrawa Valley from whence the encroachments and exactions will extend further into the Protectorate." Ras Makonnen, the newly appointed Ethiopian governor of Harar, offered the Gadabuursi protection in exchange for collaboration. Ughaz Nur