Before this, and prior to the British settlement at Aden in 1839, the Ayyal Yunis and Ayyal Ahmed lineages of the Habr Awal clan had held Berbera and jointly managed its trade, sharing in the profits on all commercial transactions as ‘protectors’ (abans) of foreign merchants from Arabia and India. When under the stimulus of developments at Aden the port's prosperity markedly increased, the numerically dominant Ayyal Yunis drove out their rival kinsmen and declared themselves commercial masters of Berbera. This led to a feud in which each side sought outside help; the defeated Ayyal Ahmed turned to Haji Shirmarke ‘Ali and his Habr Yunis clansmen for support.