Japan fought alongside the Allied Powers (primarily Britain) in World War I but joined the Axis Powers (Germany, Italy) in World War II. This dramatic shift in alliances was driven by Japan's imperial ambitions in Asia and dissatisfaction with post-WWI treaties. Russia, China, and Spain did not undergo the same complete alliance reversal between the wars.