Union General Richard Delafield graduated from West Point in 1818. He was ranked first in his graduating class of cadets numbering 23. During the US Civil War, Delafield was placed in charge of securing the New York City harbor from any Confederate attacks. Prior to the war, Delafield also served as the superintendent of West Point.
Confederate General Richard Stoddert Ewell graduated from West Point in 1840. Among the 42 graduating cadets that year, Ewell ranked 13th. Ewell saw action at the battle of Gettysburg where he commanded the ll Corps. As an aside, Ewell graduated in the same West Point class of William T. Sherman.
Confederate General Edmund Kirby Smith was a graduate of West Point's class of 1845. He ranked 26th in his class.
He graduated from West Point Military Academy
Union General Richard Arnold graduated from West Point in 1850. Among his graduating class of 44 cadets, Arnold was ranked 13th. Arnold was an artillery expert and saw most of his battle action in Virginia. Late in the war, Arnold commanded the artillery that help take the Southern port of Mobile.
Confederate General Richard Stoddert Ewell graduated from West Point in 1840. He ranked 33 among his graduating class of 42. His class also contained William T. Sherman who ranked 6th in the class. Ewell played a key role with Stonewall Jackson in the Shenandoah Valley in 1862.
According to An Adjutant General Remembers: a Military Memoir by Major General Kenneth Wickham, he graduated from West Point on 12 June 1938.
General Philip Henry Sheridan graduated from West Point in 1853. He ranked 34th out of a class of 52.
Union General Benjamin Butler did not graduate from West Point. He did have a college education and graduated from Colby College in Maine. He also passed the bar in Massachusetts and practiced law before the US Civil War.
General Ulysses S. Grant
James Longstreet held the rank of major general in the Confederate army. He graduated 54th in the West Point class of 1842.
Major General William Starke Rosencrans graduated in the West Point class of 1842. He ranked fifth in his graduating class.
Union General James Birdseye McPherson graduated from the West Point in 1853. He was ranked first in his class of 52 graduates.