This document provides an overview of Spain's history from the early 20th century through the transition to democracy in the late 1970s. It discusses the reign of King Alfonso XIII and the dictatorship of Primo de Rivera in the 1920s. It then covers the Second Spanish Republic from 1931 to 1936, the Spanish Civil War from 1936 to 1939, and the dictatorship of Francisco Franco from 1939 to 1975. The transition to democracy after Franco's death is also summarized, including the writing of the 1978 constitution and Spain joining the European Union in 1986. Society and culture are briefly discussed as changing significantly after the end of Franco's dictatorship.