Question: who was the president when texas became a state?
Answer: James K. Polk