Spain was neutral in World War I. Following the war, wide swathes of Spanish society, including the armed forces, united in hopes of removing the corrupt central government, but were unsuccessful. Popular perception of communism as a major threat significantly increased during this period.