How are the paths to statehood for Texas and California similar?

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

A they were both ones owned by Mexico