(Brainliest) Where was the Confederates’ last stand just before they surrendered?

Appomattox, Virginia
Port Hudson, Louisiana
Gettysburg, Pennsylvania
Vicksburg, Mississippi