The King sought to reclaim the Spanish colonies in the Americas that had recently revolted successfully, consequently depriving Spain from an important source of revenue.
In January 1820, soldiers assembled at Cádiz for an expedition to South America, angry over infrequent pay, bad food and poor quarters, mutinied under the leadership of Rafael del Riego.
The Progresista government reorganized Spain into 52 provinces, and it intended to reduce the regional autonomy that had been a hallmark of Spanish bureaucracy since Habsburg rule in the 16th and 17th centuries.
The Spanish Inquisition, which had been abolished by both Joseph Bonaparte and the Cortes of Cádiz during the French occupation, was ended again by the government, which led to accusations of it being nothing more than afrancesados (francophiles), who, only six years earlier, had been forced out of the country.
The army, whose liberal leanings had brought the government to power, began to waver when the Spanish economy failed to improve, and in 1823, a mutiny in Madrid had to be suppressed.
The Spanish army, fraught by internal divisions, offered little resistance to the well organised French force, who seized Madrid and reinstalled Ferdinand as absolute monarch.
To temper their counter-revolutionary ardour, the Duc de Richelieu deployed troops along the Pyrenees Mountains along the France-Spain border, charging them with halting the spread of Spanish liberalism and the "yellow fever" from encroaching into France.
On 22 January 1823, a secret treaty was signed at the congress of Verona, allowing France to invade Spain to restore Ferdinand VII as an absolute monarch.