 The third secession, a response to civil war in Colombia, was declared by a popular assembly, but reintegration took place a year later.Even before the United States acquired California after the Mexican–American War (1846–48), many heading for California used the isthmus crossing in preference to the long and dangerous wagon route across the vast plains and rugged mountain ranges.Discovery of gold in 1848 increased traffic greatly.