Slavery was once the law of the land....so was Probition.
Laws can be changed and/or repealed.
Jim Crow and segregation used to be laws too. All gone now.