Alfonso XIII (1886–1941) was king of Spain from his birth until 14 April 1931, when the Second Spanish Republic was proclaimed. Because his father had died the previous year, he became monarch at birth, and his mother served as regent until he assumed full powers in 1902. Known as El Africano for his Africanist views, he presented himself as a soldier-king and played an active political role, often using his constitutional powers in controversial ways. His reign spanned the Spanish–American War, World War I and the rise of the dictatorship of Miguel Primo de Rivera.
Early life and marriage





Alfonso was born in Madrid in 1886 and received largely a military education. In 1906 he married Princess Victoria Eugenie of Battenberg, a granddaughter of Queen Victoria, in a ceremony marked by an assassination attempt in which bombs killed a number of bystanders and members of the procession, though the royal couple was unharmed. Victoria was a carrier of haemophilia, and the condition was passed to their son Gonzalo, which strained the marriage.
Decline of the monarchy





During World War I Alfonso used his ties with other European royal families to help keep Spain neutral. However, political crises in the 1910s, violence in Morocco and the installation of the dictatorship of Primo de Rivera in 1923, which had his acquiescence, weakened his constitutional legitimacy. After the dictatorship failed, he lost most of his political support. He left Spain after the municipal elections of April 1931, which were treated as a referendum on the monarchy, and the republic was proclaimed days later.
