MOGADISHU, Somalia (AP) — Officials say Somalia's government has signed a deal over the administration of a southern port to end months of dispute that threatened wider conflict in the region.

The city of Kismayo, which has a lucrative port, was being fought over by the Mogadishu-based central government and a former militia leader named Ahmed Madobe whom Mogadishu leaders say has the backing of Kenya. Clashes for control of the town killed more than 70 people in June, according to the World Health Organization.

According to an agreement signed Wednesday, officials meeting in Ethiopia agreed to a two-year Interim Jubba Administration, a leadership period that would pave the way for the creation of a federal state controlled by the central government.