The Soviet Union emerged from World War II devastated in human and economic terms, but much enlarged in area. Militarily it was one of the two major world powers, a position maintained for four decades through its hegemony in Eastern Europe, military strength, involvement in many countries through local Communist parties, and scientific research especially into space technology and weaponry. The Union's effort to extend its influence or control over many states and peoples resulted in the formation of a world socialist system of states. Established in 1949 as an economic bloc of communist countries led by Moscow, the Council for Mutual Economic Assistance (COMECON) served as a framework for cooperation among the planned economies of the Soviet Union, its allies in Eastern Europe and, later, Soviet allies in the Third World. The military counterpart to the Comecon was the Warsaw Pact.