miguel primo de rivera y orbaneja, 2nd marquess of estella (8 january 1870 – 16 march 1930), was a dictator and military officer who was the prime minister of spain from 1923 to 1930 during the restoration era.