The Bay Area has seen skyrocketing real estate prices and low housing availability in recent years, and surrounding communities are feeling the ripple effects of the Silicon Valley’s crisis. Stockton, located in the Central Valley, has seen its real estate prices nearly double over the past five years.

According to the Mercury News, Stockton’s real estate price increase is evidence of the Bay Area’s tight housing market and proof that local residents are seeking cheaper housing outside the Silicon Valley. As San Francisco and San Jose’s prices become increasingly out of reach, home buyers are heading to Stockton, Sacramento, and the East Bay in search of more affordable homes. These second-tier markets are seeing a jump in prices because of it.

In Stockton, home buyers can get a median-priced home for $260,000. That’s just a fraction of median prices in San Francisco, San Jose, and Oakland, which are $1.25 million, $860,500, and $697,000, respectively.

This influx of residents to Stockton stands in stark contrast to the city’s troubled financial history, including its declaration of bankruptcy back in 2012, as reported by Reuters.