Legend has it that Pickett's West Point appointment was secured for him by Abraham Lincoln, but this is largely believed to be a story circulated by his widow following his death. Lincoln, as an Illinois state legislator, could not nominate candidates, although he did give the young man advice after he was accepted;[4]
Pickett was actually appointed by Illinois Congressman John T. Stuart, a friend of Pickett's uncle and a law partner of Abraham Lincoln.[5]
Pickett persisted, working off his demerits and doing enough in his studies to graduate, ranking last out of the 59 surviving students in the Class of 1846
http://en.wikipedia.org/wiki/George_Pickett
.....
Grant graduated from West Point in 1843, ranking 21st in a class of 39.
http://en.wikipedia.org/wiki/Ulysses_S._Grant