Does the sentence "As a result of the MexicanAmerican War of 184648, the territory of Alta California, including San Diego, was ceded to the United States by Mexico, under the terms of the Treaty of Guadalupe Hidalgo in 1848." answer the question "Which war played a role in ceding San Diego to the United States?"

Pick from: +yes. +no.
yes