Hawaii was an independent nation at one time . Texas and California also declared independence at one time but were still claimed by Mexico.
Mexico Texas had been an independent country for nine years when it was annexed by the United States.
because of the border problem after they got annexed
Declared in 1810, from Spain.
Mexico Texas had been an independent country for nine years when it was annexed by the United States.
Republic of California
Augustín de Iturbide
The independence from Mexico of the Republic of Texas was declared on March 2, 1836. It was annexed into the US and became a state in 1845.
Fifteen years, from 1821 until 1836.
Texas was originally part of Mexico until the 1836 rebellion that formed the Republic of Texas, which became a US state in 1845. Portions of land claimed by Texas became parts of other states, including eastern New Mexico, the panhandle of Oklahoma, and parts of Kansas, Colorado, and Wyoming.
In California, Americans rebelled against Mexican rule in the Bear Flag Revolt. The rebels declared California independent of Mexico and named it the Republic of California.
Texas never moved, I believe the Question is "To which Nation was Texas a part before it became part of the U.S." that answer would be Mexico