Soon after the formation of the Soviet Union, emigration restrictions were put in place to keep citizens from leaving the various countries of the Soviet Socialist Republics, though some defections still occurred. During and after World War II, similar restrictions were put in place in non-Soviet countries of the Eastern Bloc, which consisted of the Communist states of Eastern Europe.