Police arrived on the scene and clashed with militants , resulting in casualties on both sides .