This may have helped the triumph of populist caudillo and Christian socialist Rafael Ángel Calderón Guardia of the National Republican Party in 1940. Calderón's alliance with the Communists and the more progressive factions of the Catholic Church allowed some of the more important social reforms in Costa Rica but also sprang protests and opposition that sparked the 1948 Civil War.