That really isn’t unprecedented. SF in the 70s and 80s got pretty grimey, attracting younger and more eclectic people who could afford the rents. Those people in turn make the area more desirable, attracting gentrification and then...well, equilibriums win in the long run.