Complex sentence: General Robert E. Lee's Army of Northern Virginia found itself surrounded soon thereafter, and surrender was effected at Appomattox Court House on April 9,1865.
Split into simpler sentences: General Robert E. Lee's Army of Northern Virginia found itself soon surrounded. He surrendered at Appomattox Court House on April 9,1865.