 After he was released in a prisoner exchange, he was appointed to the United States Military Academy by Abraham Lincoln.He was promoted to lieutenant and served until the regiment mustered out in 1866.Peck became a newspaper publisher who founded newspapers in Ripon and La Crosse, Wisconsin.