Heavily armed militiamen raided a police compound in Mogadishu and forced the 28 policemen there to surrender their weapons.