China and Somalia on Tuesday hit out at Taiwan for opening a representative office in the breakaway state of Somaliland after the two territories, which lack international recognition, wove stronger ties. Taiwan opened its office in the Somaliland capital Hargeisa on Monday, with the flags of both territories raised and their anthems played. Beijing accused authorities in Taiwan of separatism and acting with "desperation". Somalia's foreign ministry condemned Taiwan's "reckless attempts to infringe on the sovereignty of the Federal Republic of Somalia and violate its territorial integrity". Democratic and self-ruled Taiwan is officially recognised by only 15 nations since China poached seven of its remaining diplomatic allies after President Tsai Ing-wen came to power in 2016. Tsai describes Taiwan as "already independent", but China views the island as its own territory and has vowed to seize it one day, by force if necessary. Taiwan has for decades been engaged in a diplomatic tug-of-war with Beijing in which each side tries to woo the other's allies with financial and other incentives. Chinese foreign ministry spokesman Zhao Lijian told a regular press briefing that Beijing "firmly opposes Taiwan and Somaliland setting up official organizations or conducting official relations with each other". "There is only one China in the world and Taiwan is an inseparable part of it," he said. Somaliland is in a somewhat similar position to Taiwan, having declared independence from Somalia in 1991 in a move that remains unrecognised by the international community. While anarchic southern Somalia has been riven by years of fighting between multiple militia forces and Islamist violence, Somaliland has enjoyed relative peace. The statement from the Somali foreign ministry urged Taiwan to "cease its misinformed ventures into any part" of its territory. tjx-fb/ri