It was established within NKVD under the name "Administration for Affairs of Prisoners of War and Internees (UPVI) in September 1939 after the Soviet invasion of Poland. The qualifier "main" was added in January 1945.