 Some of the militias that were then competing for power interpreted the UN troops ' presence as a threat to their <unk> . Consequently , several gun battles took place in Mogadishu between local <unk> and peacekeepers . Among these was the Battle of Mogadishu of 1993 , a successful attempt by US troops to apprehend two high @-@ ranking lieutenants of faction leader Aidid . The UN soldiers eventually withdrew altogether from the country on 3 March 1995 , having incurred more significant casualties . 
