After the Battle of Stones River, or Murfreesboro, on December 31, 1862 and January 2, 1863, where Bragg faced a new Union commander, Major General William Rosecrans, Bragg retreated a short distance but still was located astride the main railroad about 30 miles from Nashville on the line to Chattanooga.