I want to know the answer to the following question:
In what year did San Diego become part of the United States?
All the background I'm provided with is that "In 1850, it became part of the United States following the Mexican–American War and the admission of California to the union.". Is that enough to answer the question?