The second Soviet occupation was accompanied by the guerrilla warfare of the Lithuanian population, which took place in 1944–1953. It sought to restore an independent state of Lithuania, to consolidate democracy by destroying communism in the country, returning national values and the freedom of religion. About 50,000 Lithuanians took to the forests and fought Soviet occupants with a gun in their hands. In the later stages of the partisan war, Lithuanians formed the Union of Lithuanian Freedom Fighters and its leader Jonas Žemaitis (codename Vytautas) was posthumously recognized as the president of Lithuania. Despite the fact that the guerrilla warfare did not achieve its goal of liberating Lithuania and that it resulted in more than 20,000 deaths, the armed resistance ''de facto'' demonstrated that Lithuania did not voluntarily join the USSR and it also legitimized the will of the people of Lithuania to be independent. Lithuanian courts and the ECHR both treat the Soviets' annihilation of the Lithuanian partisans as a genocide.