Question: Why was the border between Mexico and the United States established one league south of San Diego Bay's most southern tip?

Is "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." the correct answer?
pick from the following. [-] yes. [-] no.
no