On December 31, 1862, the first day of the Battle of Stones River, Sheridan anticipated a Confederate assault and positioned his division in preparation for it. His division held back the Confederate onslaught on his front until their ammunition ran out and they were forced to withdraw. This action was instrumental in giving the Union army time to rally at a strong defensive position. For his actions, he was promoted to major general on April 10, 1863 (with date of rank December 31, 1862). In six months, he had risen from captain to major general.