I want to know the answer to the following question:
Which war played a role in ceding San Diego to the United States?
All the background I'm provided with is that "The Mexican negotiators of that treaty tried to retain San Diego as part of Mexico, but the Americans insisted that San Diego was "for every commercial purpose of nearly equal importance to us with that of San Francisco," and the Mexican-American border was eventually established to be one league south of the southernmost point of San Diego Bay, so as to include the entire bay within the United States.". Is that enough to answer the question?
Answer: no