(Associated Press) – The average rate on a 30-year mortgage in the U.S. edged lower this week, ending a six-week climb.

The rate slipped to 6.78% from 6.79% last week, mortgage buyer Freddie Mac said Thursday.

That’s still down from a year ago, when the rate averaged 7.4%.

Mortgage rates are influenced by several factors, including the yield on U.S. 10-year Treasury bonds, which lenders use as a guide to price home loans.

Bond yields have been rising in recent weeks following encouraging reports on inflation and the economy.

Elevated mortgage rates and high prices have helped keep the U.S. housing market in a sales slump going back to 2022.