Berbera (Somali: Barbara, Arabic: بربرة) is a city in the northwestern Berbera District of Somaliland, a self-declared republic internationally recognized as an autonomous region of Somalia. It is situated in the Woqooyi Galbeed province.In antiquity, Berbera was part of a chain of commercial port cities along the Somali seaboard. It later served as the capital of the British Somaliland protectorate from 1884 to 1941, when it was replaced by Hargeisa.