Evidence of knowledge of the coffee tree and coffee drinking first appeared in the late 15th century. Sufi Imam Muhammad Ibn Said Al Dhabhani is known to have imported goods from Ethiopia to Yemen. Coffee was first exported out of Ethiopia to Yemen by Somali merchants from Berbera and Zeila, which was procured from Harar and the Abyssinian interior. According to Captain Haines, who was the colonial administrator of Aden (1839–1854), Mocha historically imported up to two-thirds of their coffee from Berbera-based merchants before the coffee trade of Mocha was captured by British-controlled Aden in the 19th century. Thereafter, much of the Ethiopian coffee was exported to Aden via Berbera.
