The early 20th century saw a period of Taishō democracy (1912–1926) overshadowed by increasing expansionism and militarization. World War I allowed Japan, which joined the side of the victorious Allies, to capture German possessions in the Pacific and in China. The 1920s saw a political shift towards statism, a period of lawlessness following the 1923 Great Tokyo Earthquake, the passing of laws against political dissent, and a series of attempted coups. This process accelerated during the 1930s, spawning a number of radical nationalist groups that shared a hostility to liberal democracy and a dedication to expansion in Asia. In 1931, Japan invaded and occupied Manchuria; following international condemnation of the occupation, it resigned from the League of Nations two years later. In 1936, Japan signed the Anti-Comintern Pact with Nazi Germany; the 1940 Tripartite Pact made it one of the Axis Powers.