Mexico was officially recognized as an independent nation by the US.

Source