Conversation so far:
What happened in the 19th Century regarding the Spanish colonization of the Americas?
In 1809 the first declarations of independence from Spanish rule occurred in the Viceroyalty of Peru.
Who else besides Peru declared independence from Spanish rule in the 19th century?
Ecuador declared independence from Spanish rule
Who else besides Peru and Ecuador declared independence from Spanish rule in the 19th century?
In 1810 Mexico declared independence from Spanish rule in the 19th century.
Is there yet another besides Peru, Ecuador, and Mexico who declared independence from Spanish rule in the 19th century?
Bolivia declared independence from Spanish rule in the 19th century.
Did Peru, Ecuador, Bolivia, and Mexico declaring independence deplete Spain of all its territories or is there more?
All of the colonies, except Cuba and Puerto Rico, attained independence by the 1820s.

Question: When did Cuba get indepence from them?
Self-contained rewrite: When did Cuba get independence from Spain?