Sales of previously owned homes in the United States dropped in June, according to industry data released Thursday, as affordability worries continued to weigh on property buyers.

Home sales dropped in June month over month as mortgage rates remain stubbornly high. Prices hit an all-time high.

Sales of previously occupied U.S. homes slowed in June, but a key measure of home prices climbed to an all-time high, adding to prospective homebuyers’ affordability challenges