UNITED NATIONS/NAIROBI (AFP) - The UN Security Council on Friday condemned a bid by Somalias religious groups to oust the government by force and voiced concern about reported Eritrean arms supplies to them. The 15-member body unanimously agreed a non-binding statement that condemns the recent renewal in fighting by these groups, which constitutes an attempt to remove (the) legitimate authority (in Somalia) by force. The Council also expressed concern over reports that Eritrea has supplied arms to those opposing the legitimate government of Somalia in breach of the UN (17-year-old) arms embargo and called on its sanctions monitoring panel to investigate. The Council also reaffirmed its support for Somalias transitional government as the legitimate authority and demanded that Opposition groups immediately end their offensive, put down their arms, renounce violence and join reconciliation efforts. The ongoing attempts to take power by force can only delay the political process and prolong the suffering of the Somali people, the text added. Fridays Council statement also urged the international community to help beef up security forces of the Somali transitional government and reiterated the councils support for the African Union mission in Somalia (AMISOM) that is struggling to try to contain the violence in the lawless country. It expressed concern at the loss of life and the worsening humanitarian situation arising out of the renewed fighting. Earlier, the UN special envoy to the Horn of Africa nation said hundreds of foreigners from Africa and outside the continent are battling Somalias western-backed government in the worst clashes for months. Intelligence agencies are worried that Somalia - with its porous borders and coastline, Al Qaeda-linked groups and weak government - may become a beach-head for militants trying extend to their influence in the region and beyond. Some observers play down that risk, saying most Somalis follow a moderate form of Islam and have a deep suspicion of foreigners and the strict interpretation of Islamic law espoused by groups such as Al-Shabab. There is no doubt from many sources covert or overt that there is a significant number of foreign fighters in Somalia from within the continent and outside, UN envoy Ahmedou Ould-Abdallah told reporters in Kenyas capital. I have seen figures from UN Security Council documents, submitted by the US where they are estimated to be between 280 and 300, he said. Fighting between Al-Shabab activists - who admit to having foreigners in their ranks - and pro-government fighters has killed at least 139 people and sent some 27,000 fleeing the pock-marked, seaside capital since late last week. If (the rebels) take power by force, it will lead nowhere. There will be no recognition, Ould-Abdallah said. World powers have condemned the violence in Mogadishu and called for calm in one of the worlds most dangerous cities. Analysts say foreigners have been training insurgents in explosives and tactics, while weapons such as landmines, grenade launchers and rockets have been flown and shipped into Somalia. One security analyst said the roadside bombs being used to target African Union peacekeepers have become far more sophisticated in recent months. Hardline Opposition leader Sheikh Hassan Dahir Aweys told Reuters on Thursday there were some foreigners in Somalia, but that those numbers had been embellished. Aweys - who Washington says has links to Al-Qaeda - also accused UN envoy Ould-Abdallah of destroying Somalia through his support of the transitional government. Since early 2007, an insurgency against the government has killed 17,700 people and wounded almost 30,000 others, according to a local rights group.