A People's republic was created in 1945 by a newly established communist government. It was ruled by Josip Tito from then until 1980. The country renamed itself SFR Yugoslavia in 1963. It was made up of six individual Socialist Republics: SR Croatia, SR Bosnia and Herzegovina, SR Macedonia, SR Montenegro, SR Serbia and SR Slovenia. The SFR Yugoslavia was different to other socialist states of the Cold War, deciding to keep itself out of it. Yugoslavia was the only socialist state to have open borders and allowed Yugoslavs and tourists to freely move around the country. Yugoslavia also kept warm relations with the West. It was also an enemy of the Soviet Union after the Tito-Stalin split as Stalin considered him a traitor. In 1968 the Soviet Union invaded socialist Czechoslovakia to stop its leader from making the country more free. Tito told the Czechoslovak leader that he was willing to fly to Prague to help him face the Soviets if he wanted.