Foreigners and Somali nationals with international ties have been targeted by assassins in Somalia , which has been ruled by warring factions since the collapse of the government in 1991 .