(Bloomberg) -- Home prices in 20 U.S. cities gained in July, pushed higher by demand for housing that has been fueled by low mortgage rates.

The S&P CoreLogic Case-Shiller index of property values increased 3.9% from 2019, beating the estimate of 3.6%. It was the biggest year-over-year increase since December 2018.

The housing market has been an unexpected bright spot for the U.S. economy, with Americans eager to take advantage of record-low mortgage rates. A shortage of inventory has helped prop up prices, particularly as Americans look for more space to spread out.

©2020 Bloomberg L.P.