The only Latin American country to gain its independence as a monarchy was______?

The only Latin American country to gain its independence as a monarchy was______?