After Abraham Lincoln won the presidential election of 1860 by a clear majority in the electoral college:

d.

the United States and Mexico signed a treaty, establihsing a boundary just south of San Francisco