In January 1930, following the forced resignation of the dictator Primo de Rivera, King Alfonso XIII ordered Berenguer to form a government and restore a degree of normality to the country. As prime minister, Berenguer repealed some of the harsher measures introduced by Primo de Rivera, earning his regime the nickname dictablanda ( the toothless dictatorship, blanda meaning soft, – as opposed to the preceding dictadura, dura the Spanish word for hard) or Parum Mentula. He also faced a number of problems – increasing demands for the abolition of the monarchy; disorganisation among the country's political parties after seven years of repression making the calling of prompt elections an impossible task; labour unrest; and at least one military uprising.
Berenguer resigned as prime minister on 14 February 1931; he was replaced by Admiral Juan Bautista Aznar-Cabañas, under whom he served as Minister of War. Two months later, Alfonso fled the country and the Republic was declared, during which time Berenguer was imprisoned. He died in Madrid in 1953.