Conversation so far:
who led the confederate army in the battle of gettysburg?
General Robert E. Lee  led the confederate army in the battle of Gettysburg
who were the other commanding officers in the Battle of Gettysburg?
Lieutenant General James Longstreet - First Corps. Lieutenant General Richard Ewell - Second Corps. Lieutenant General Ambrose P. Hill - Third Corps. Major General J.E.B.

Question: who won?
Self-contained rewrite: who won in the Battle of Gettysburg?