By the end of the war he was head of a SMERSH detachment with a regiment, and during the 1950s was part of military counterintelligence assigned to the Group of Soviet Forces in Germany, as part of the Ministry of State Security (MGB), and its successors the Ministry of Internal Affairs (MVD), and finally the Committee for State Security (KGB).