However, King Ferdinand VII had fathered only two daughters, Isabella and Luisa Fernanda of Bourbon.
Ferdinand's father, Charles IV of Spain made a weak attempt to eliminate the Salic Law, and Ferdinand brought forth the Pragmatic Sanction of 1830, so that his oldest daughter would inherit the throne and be declared queen upon his death, as was the older Castilian custom.
This removed his brother, Infante Carlos, Count of Molina, as the next in the line of succession under Salic Law.
Carlos' supporters, among whom was Francisco Calomarde, pressured Ferdinand VII to repeal the Pragmatic Sanction.
A severe attack of gout, however, incapacitated Ferdinand and, when he died on 29 September 1833, Isabella was proclaimed queen.