Galusha Pennypacker, became a captain of the 97th Pennsylvania Volunteers. Just before his 21st birthday, he was made a brigadier general, thereby making him the youngest general in the Civil War.
Custer was promoted by General Pleasonton right before Gettysburg. He was 23.