Mogadishu along with Zeila and other Somali coastal cities was founded upon an indigenous network involving hinterland trade and that happened even before significant Arab migrations or trade with the Somali coast. That goes back approximately four thousand years and are supported by archaeological and textual evidences.