In the history of the Dominican Republic, the period of España Boba (Spanish: "Meek Spain") lasted from 1809 to 1821, during which the Captaincy General of Santo Domingo was under Spanish rule, but the Spanish government exercised minimal powers because its resources were attenuated by the Peninsular War and the various Spanish American wars of independence. The period ended when Dominican officials declared a short-lived independence on 30 November 1821. In February 1822, Haiti annexed former Santo Domingo, leading to an occupation that lasted until 1844.