With the passing of prominence and prosperity, the country was partitioned by neighbouring states at the end of the 18th century, and regained independence in 1918 with the Treaty of Versailles. After a series of territorial conflicts, the new multi-ethnic Poland restored its position as a key player in European politics. In September 1939, World War II began with the invasion of Poland by Germany, followed by the Soviets invading Poland in accordance with the Molotov–Ribbentrop Pact. Approximately six million Polish citizens, including three million of the country's Jews, perished during the course of the war. As a member of the Eastern Bloc, the Polish People's Republic proclaimed forthwith was a chief signatory of the Warsaw Treaty amidst global Cold War tensions. In the wake of the 1989 events, notably through the emergence and contributions of the Solidarity movement, the communist government was dissolved and Poland re-established itself as a democratic republic.