The Dow Jones Industrial Average inched higher Friday to notch its seventh consecutive record close.

Friday’s gain ended a week in which signs of economic growth and improving corporate earnings helped push major U.S. indexes to multiple new highs, some investors said.

The Dow industrials, S&P 500 and Nasdaq Com posite all notched weekly gains of at least 1.5%, spurred by hopes for tax cuts, regulatory rollbacks and increased government spending that several analysts said could boost corporate profits.

“Investors this week have seen strong economic data and statements from Federal Reserve Chairwoman Janet Yellen supporting the idea that growth is reasonably good,” which should help lift earnings, said Paul Quinsee, global head of equities at J.P. Morgan Asset Management.

The blue-chip index rose 4.28 points, or less than 0.1%, Friday to 20624.05, posting its biggest weekly gain since Dec. 9 with a 1.7% climb. The S&P 500 edged up 3.94 points, or 0.2%, Friday to 2351.16 and the Nasdaq Composite added 23.68 points, or 0.4%, to 5838.58. All three indexes closed at new highs.