Armed groups loyal to rival politicians clashed in Somalia's capital on Thursday, producing what residents described as the worst fighting in years. The violence erupted as tensions escalated over the president's decision to extend his term in office by one year, a move that has drawn opposition protests and accusations of undermining the democratic process.

The gun battles broke out across Mogadishu, with heavy gunfire reported in multiple neighborhoods. The fighting pits forces aligned with the sitting president against those backing opposition politicians who reject the term extension. The opposition has called for demonstrations against what it views as an illegal power grab, setting the stage for further unrest in the Horn of Africa nation.

The extension of the presidential term has plunged Somalia into a political crisis at a time when the country faces ongoing security challenges. The delay in elections has fractured the fragile political consensus that had held among Somali leaders. Residents have expressed fear that the violence could spiral into broader conflict, threatening the stability of a city that has endured decades of warfare.

Somalia has struggled to hold timely elections, with previous votes also facing delays due to disputes over the electoral process and security concerns. The country operates under a complex indirect voting system in which clan elders select members of parliament, who then choose the president. Direct popular elections remain a distant goal in a nation still grappling with the insurgency of the militant group al-Shabab.

The international community has expressed concern over the political standoff and the outbreak of violence. Foreign governments and international organizations have urged Somali leaders to resolve their differences through dialogue and to proceed with elections as quickly as possible. The fighting underscores the fragility of Somalia's political system and the risks that disputes among elites pose to ordinary citizens caught in the crossfire.