American settlers fought Mexican settlers in ___________________ and in 1845 it became a state.