During World War II, the United States and the Soviet Union were both members of the Allies, working together against the Axis Powers despite their opposing ideologies. This alliance was temporary and based on a shared goal of defeating common enemies. Post-war tensions reverted to their ideological conflicts, giving rise to the Cold War. ;