Answer
King Alfonso XIII was the King of Spain from 1886 until 1931. During his reign, he closely aligned with Miguel Primo de Rivera, who led a coup d'état in 1923 and established a dictatorship. Alfonso XIII supported Primo de Rivera's policies, which included suppressing political opposition and centralizing power in the government. However, the dictatorship became increasingly unpopular, and Alfonso XIII was forced to abdicate in 1931.