When mexico gained its independence from spain in 1821, texas was: select one:
a. a part of mexico.
b. an independent republic.
c. a french territory.
d. a commonwealth of the british empire.
e. one of the american states?