Conversation so far:
How did America become colonized?
CANNOTANSWER.
What happened to Mexico in the 19th century?
Independence.

Question: How did Mexico gain independence?
Self-contained rewrite: How did Mexico gain independence?