The Ukrainian Insurgent Army was a Ukrainian nationalist partisan formation founded by the Organisation of Ukrainian Nationalists (OUN) on 14 October 1942. The UPA launched guerrilla warfare against Nazi Germany, the Soviet Union, and both the Polish Underground State and Polish Communists. The UPA carried out massacres of Poles in Volhynia and Eastern Galicia, which are recognized by Poland as a genocide.
The goal of the OUN was to establish an independent Ukrainian state. This goal, according to the OUN founding declaration, "was to be achieved by a national revolution led by a dictatorship" that would drive out occupying powers and then establish a "government representing all regions and social groups"; OUN accepted violence as a political tool against enemies of their cause. In order to achieve this goal, a number of partisan units were formed, merged into a single structure in the form of the UPA, which was created on 14 October 1942. From February 1943, the organization fought against the Germans in Volhynia and Polesia. At the same time, its forces fought against the Polish resistance, during which the UPA carried out massacres of Poles in Volhynia and Eastern Galicia, resulting in the deaths of an estimated 60,000 to 120,000 Polish civilians. In 1944, as the German army was retreating, the UPA started to attack its rear and seize the equipment. At the end of July 1944, the UPA aligned itself with Nazi Germany, ceasing its attacks on Wehrmacht positions and attacking the Soviets in exchange for military aid. Soviet NKVD units fought against the UPA, which led armed resistance against Soviets until 1949. On the territory of Communist Poland, the UPA tried to prevent the forced deportation of Ukrainians from western Galicia to the Soviet Union until 1947.
The UPA was a decentralized movement widespread throughout Ukraine, divided into three operational regions; each region followed a somewhat different agenda, given the circumstances of a constantly moving front line and a double threat from Soviet and Nazi opponents. Not all UPA soldiers were members of the OUN or shared OUN's ideology.
The UPA was formally disbanded in early September 1949, but some of its units continued operations until late 1956. Officially, the UPA's last military engagement occurred in October 1956, when remnants of the group fought on the Hungarian border region in support of that country's revolution. In March 2019, surviving UPA members were officially granted the status of veterans by the government of Ukraine.