Within my lifetime, the municipality in which I live enacted policies (historic preservation and racial steering of apartments) specifically to limit the number of Black families that moved in. The preservation-based restrictionism continued into the 1980s (and, of course, remains in force today); the steering into the late 1990s. Our Fair Housing Ordinance included an escape clause allowing our board to resegregate specific blocks, and just a year or two before I was born, they used it.
This is not ancient history.