The New Mexico campaign was a military operation in 1862 of the American Civil War in which the Confederate General Henry Hopkins Sibley invaded the New Mexico Territory in an attempt to control the southwest and the gold fields of Colorado and the ports of California. Union forces were led by Colonel Edward Canby.
The decisive battle of the campaign was the Battle of Glorieta Pass, fought March 26-28, 1862, during which Union forces succeeded in stopping the Confederate invasion of New Mexico.
The campaign is part of the backdrop for the fictional story in the spaghetti western The Good, the Bad and the Ugly.