A better-than-forecast jobs report prompted a stock market rally Friday, two days after traders witnessed another interest rate cut by the Federal Reserve.

Both the S&P 500 and Nasdaq Composite ended the week at historic peaks, while the Dow Jones Industrial Average settled less than 12 points under its all-time record close. The Nasdaq rose 1.74% for the week; the S&P gained 1.47%. The Dow added 1.44%. MSCI’s EAFE benchmark, which measures developed stock market performance outside the U.S. and Canada, improved 0.58%.