Two years junior to Whistler, Samuel Wragg Ferguson was a cadet at the US military academy at West Point.
He served on the Utah expedition, and resigned in 1861. In the Confederate States army he became a Brigadier general. After the war he became a lawyer.
Cullum Memorial Edition, Register of Graduates and former cadets, United States Militery Academy, West Point, 1980.