New Delhi, Nov. 7 -- The court's decision on Thursday came a day after Mohamud dismissed the country's chief justice. The presidency had not responded to the ruling by Friday.

The confrontation comes a week after the United Nations closed its political mission, which had helped rival leaders negotiate. No replacement mediator has been agreed upon for an election dispute that has already sparked armed clashes in the capital, Mogadishu.

Court rejects another year in power

The Supreme Court's five-page judgment, reviewed by The Associated Press, rejected the president's position that constitutional changes allow him to remain in office until 2027.

The court said parliament's decision to extend presidential and parliamentary terms from fo...