In 1820 a revolt broke out in favor of the Constitution of 1812 which began with a mutiny of the troops under Col. Rafael del Riego and the king was quickly made prisoner.
When Ferdinand was freed after the Battle of Trocadero and the fall of Cádiz, reprisals followed.