How were the paths to statehood for Texas and California similar

A) they were part of the Louisiana purchase
B) they were both once owned by Mexico
C) they both resisted becoming states
D) they both wanted to be acquired by France

B) they were both once owned by Mexico