home, when the Soviet Union offered three amnesties during 1947–1948. By 1946, the UPA was reduced to a core group of 5–10 thousand fighters, and large-scale UPA activity shifted to the Soviet-Polish border. Here, in 1947, they killed the Polish Communist deputy defence minister General Karol Świerczewski. In spring 1946, the OUN/UPA established contacts with the Intelligence services of France, Great Britain and the USA. End of UPA resistance The turning point in the struggle against the UPA came in 1947 when the Soviets established an intelligence gathering network within the UPA and shifted the focus of their actions from mass terror to infiltration and espionage. After 1947 the UPA's activity began to subside. On May 30, 1947, Shukhevych issued instructions for joining the OUN and UPA in underground warfare. In 1947–1948 UPA resistance was weakened enough to allow the Soviets to begin implementation of large-scale collectivization throughout Western Ukraine. In 1948, the Soviet central authorities purged local officials who had mistreated peasants and engaged in "vicious methods". At the same time, Soviet agents planted within the UPA had taken their toll on morale and on the UPA's effectiveness. According to the writing of one slain Ukrainian rebel, "the Bolsheviks tried to take us from within...you can never know exactly in whose hands you will find yourself. From such a network of spies, the work of whole teams is often penetrated...". In November 1948, the work of Soviet agents led to two important victories against the UPA: the defeat and deaths of the heads of the most active UPA network in Western Ukraine, and the removal of "Myron", the head of the UPA's counter-intelligence SB unit. The Soviet authorities tried to win over the local population by making a significant economic investments in Western Ukraine, and by setting up rapid reaction groups in many regions to combat the UPA. According to one retired MVD major, "By 1948 ideologically we had the support of most of the population." The UPA's leader, Roman Shukhevych, was killed during an ambush near Lviv on 5 March 1950. Although sporadic UPA activity continued until the mid-1950s, after Shukhevich's death the UPA rapidly lost its fighting capability. An assessment of UPA manpower by Soviet authorities on 17 April 1952 claimed that UPA/OUN had only 84 fighting units consisting of 252 persons. The UPA's last commander, Vasyl Kuk, was captured on 24 May 1954. Despite the existence