What were African Americans forced to share before the Civil War