When Did Segregation Start?

The start of segregation coincides with the end of the civil war, which was1865, however even before this time, blacks and whites were separated, it just wasn’t given a name of segregation.