The Majeerteen Sultanate originated in the mideighteenth century, but only came into its own in the nineteenth century with the reign of the resourceful Boqor Ismaan Mahamuud. Ismaan Mahamuud's kingdom benefited from British subsidies (for protecting the British naval crews that were shipwrecked periodically on the Somali coast) and from a liberal trade policy that facilitated a flourishing commerce in livestock, ostrich feathers, and gum arabic. While acknowledging a vague vassalage to the British, the sultan kept his desert kingdom free until well after 1800.
Boqor Ismaan Mahamuud's sultanate was nearly destroyed in the middle of the nineteenth century by a power struggle between him and his young, ambitious cousin, Keenadiid. Nearly five years of destructive civil war passed before Boqor Ismaan Mahamuud managed to stave off the challenge of the young upstart, who was finally driven into exile in Arabia.