Spain in the 20th century experienced the reign of King Alfonso XIII, the dictatorship of Primo de Rivera from 1923-1930, and the Second Republic from 1931-1939 which established rights for both genders and separation of church and state. A civil war from 1936-1939 resulted in victory for rebel forces led by Franco, beginning a dictatorship until 1975. Franco centralized power under a single authoritarian regime that prohibited opposition and favored Catholicism. In the 1970s, protests increased and upon Franco's death in 1975, Spain transitioned to a democratic constitutional monarchy through a process known as the Transition.