 The company became Company F of the 1st Pennsylvania Reserve Regiment and was mustered in to the Union Army in 1861 with Talley as captain.At the Battle of Antietam, Talley was given command of his regiment by General Warren, the Corps Commander.At the Battle of Spotsylvania, he commanded the 1st Brigade of the 5th Corps and was taken prisoner of war.