NEW YORK >> Stocks gained ground Friday on Wall Street following a better-than-expected report on the U.S. job market.

The gains were broad, with every sector in the S&P 500 rising. That solidified a second consecutive winning week for the benchmark index, which has rallied back from a slump two months ago to come within striking distance of its record high.

The S&P 500 rose 61.06 points, or 1%, to 6,000.36. It is now within 2.3% of its record.

The Dow Jones Industrial Average rose 443.13 points, or 1%, to 42,762.87. The Nasdaq rose 231.50 points, or 1.2%, to 19,529.95.

Technology stocks, with their outsized values, led the broad gains. Chipmaker Nvidia jumped 1.2% and iPhone maker Apple rose 1.6%.

Tesla rose 3.7%, regaining some of the big losses it suffered Thursday when Trump and Musk sparred feverishly on social media.

Circle Internet Group, the U.S.-based issuer of one of the most popular cryptocurrencies, rose 29.4%. That adds to its 168% gain from Thursday when it debuted on the New York Stock Exchange.

U.S. employers slowed their hiring last month, but still added a solid 139,000 jobs amid uncertainty over President Donald Trump’s trade war. The closely watched monthly update reaffirmed that the job market remains resilient, despite worries from businesses and consumers about the impact of tariffs on goods going to and coming from the U.S. and its most important trading partners.

“It looks like, for now, everything is kind of running smoothly,” said Chris Zaccarelli, chief investment officer for Northlight Asset Management. “Investors see that as a positive, but we also haven’t seen the full effect of tariffs yet.”

Trump’s on-again-off-again tariffs continue to weigh on companies. Lululemon Athletica plunged 19.8% after the maker of yoga clothing cut its profit expectations late Thursday as it tries to offset the impact of tariffs while being buffeted by competition from start-up brands.

Hopes that Trump will lower his tariffs after reaching trade deals with other countries have been among the main reasons the S&P 500 has rallied back so furiously since dropping roughly 20% from its record two months ago.

The economy is already absorbing the impact from tariffs on a wide range of goods from key trading partners, along with raw materials such as steel. Heavier tariffs could hit businesses and consumers in the coming months.

The U.S. economy contracted during the first quarter. Recent surveys by the Institute for Supply Management, a trade group of purchasing managers, found that both American manufacturing and services businesses contracted last month. On Tuesday, the Organization for Economic Cooperation and Development forecast 1.6% growth for the U.S. economy this year, down from 2.8% last year.

In the bond market, Treasury yields made significant gains. The yield on the 10-year Treasury rose to 4.51% from 4.39% late Thursday. The two-year Treasury yield, which more closely tracks traders’ expectations for what the Federal Reserve will do with overnight interest rates, rose to 4.04% from 3.92% late Thursday.

Markets in Europe were mostly higher.