oil crisis. In 1976, the government of Edward Gierek was forced to raise prices again which led to the June 1976 protests. This cycle of repression and reform and the economic-political struggle acquired new characteristics with the 1978 election of Karol Wojtyła as Pope John Paul II. Wojtyła's unexpected elevation strengthened the opposition to the authoritarian and ineffective system of nomenklatura-run state socialism, especially with the pope's first visit to Poland in 1979. In early August 1980, a new wave of strikes resulted in the founding of the independent trade union "Solidarity" (Solidarność) led by Lech Wałęsa. The growing strength and activity of the opposition caused the government of Wojciech Jaruzelski to declare martial law in December 1981. However, with the reforms of Mikhail Gorbachev in the Soviet Union, increasing pressure from the West, and dysfunctional economy, the regime was forced to negotiate with its opponents. The 1989 Round Table Talks led to Solidarity's participation in the 1989 election. Its candidates' striking victory gave rise to the first of the succession of transitions from communist rule in Central and Eastern Europe. In 1990, Jaruzelski resigned from the presidency following the presidential election and was succeeded by Wałęsa. Establishment of communist-ruled Poland (1944–1948) Border and population shifts Before World War II, a third of Poland's population was composed of ethnic minorities. Poland had about 35 million inhabitants in 1939, but fewer than 24 million in 1946, within the respective borders. Of the remaining population over three million were ethnic minorities, such as Germans, Ukrainians and Jews, most of whom would soon leave Poland. Poland suffered the heaviest proportionate human losses during World War II, amounting to 16–17 percent of its population. It is estimated that up to 6 million Polish citizens died from war-related causes between 1939 and 1945. The approximate figure includes 3 million Jewish-Polish victims as part of the above total. The number of ethnically Polish victims was perhaps 2 million. The historical minorities in Poland were most significantly affected, whereas Poland's multiethnic diversity reflected in prior national censuses was all but gone within several years after the war. The Polish educated class suffered greatly. A large proportion of the country's pre-war social and political elite perished or were dispersed. The implementation of the immense task of reconstructing the country was accompanied by the struggle of the new government to acquire centralized authority, further complicated by the mistrust a