The Civil War ended on May 9, 1865. Some southern states began actively passing laws that restricted the rights of former slaves after the Civil War, and Congress responded with the 14th Amendment, designed to place limits on states' power as well as protect civil rights.