Complex sentence: Confederate hold in the area was broken after the Battle of Glorieta Pass, the defining battle of the New Mexico Campaign, and in July 1862 the government relocated to Texas in the town of El Paso where it remained for the duration of the war.
Split into simpler sentences: Confederate hold in the area was soon broken, however, after the Battle of Glorieta Pass, the defining battle of the New Mexico Campaign. In July, 1862, the government relocated to the town of El Paso, Texas, where it remained for the duration of the war.