 He was dismissed on March 7, 1834.From 1837 to 1838, Ricafort served as a senator and moved to A Coruña to be Captain General of Galicia at the same time.In November 1840, he was appointed Minister of War.