In the occupied territories, the NKVD (later KGB) carried out mass arrests, deportations, and executions. The targets included collaborators with Germany and non-Communist resistance movements. Resistance movements included the Polish Armia Krajowa and Ukrainian patriots aiming to separate from the Russian Soviet Union.