Somalia's Supreme Court ruled that President Hassan Sheikh Mohamud's term expired and that a late extension from parliament could not apply after the fact, BBC News, The East African and Garowe Online report. The court ordered leaders to agree on an election plan within 30 days and hold elections within 90 days.

Thursday's ruling came a day after Mohamud dismissed Chief Justice Bashe Yusuf Ahmed, a step the court said he lacked the power to take, BBC News and The East African report. Five of nine judges backed the order, The East African says.

Mohamud's four-year term ended in May, but his team extended it by a year through law changes that parliament approved in March, BBC News reports. Garowe Online says the court found parliament's term ended April 14, 2026, and Mohamud's term ended May 15, 2026.

Opposition leaders led by former president Sharif Sheikh Ahmed had sued to stop the extensions, The East African and Garowe Online report. Sharif welcomed the ruling and called for talks, BBC News says.

The court rejected a challenge to how the amendment was passed but accepted arguments against applying new terms to the current offices, Garowe Online reports. The decision deepens a fight between the presidency and the courts, BBC News says, and could disrupt plans for nationwide votes next year.

Garowe Online says the Constitutional Division issued the ruling on November 5 after hearing opposition petitions. BBC News says the order could disrupt government plans that had pointed to nationwide polls next year.

What we know: The court voided the late extension and set 30- and 90-day election deadlines.
What we don't: Whether Mohamud will comply, or how the electoral plan will be written.