In occupied territories, the NKVD carried out mass arrests, deportations, and executions of traitors, Nazi collaborators, and other dangerous people. Resistance movements included the Polish Armia Krajowa (which was neither pro-nazi or communist), and leftover Ukrainian Nazi units (aiming to remain separate from the Soviet Union).