Miguel Primo de Rivera
During the dictatorship of Miguel Primo de Rivera (1923–30) he was arrested several times and spent much of this period in prison.