(CNBC) U.S. stocks closed well off session lows on Friday, helped by a sharp rise in health care shares.
The S&P 500 ended 0.5 percent higher at 2,691.25 after falling more than 1 percent. Health care sector was the best-performing sector, gaining 1 percent. Shares of Universal Health Services and Perrigo were among the best-performers in the index.
The Nasdaq composite rose 1.1 percent to 7,257.87 as the iShares Nasdaq Biotechnology ETF (IBB) advanced 2.4 percent. At its low, the Nasdaq fell as much as 1.3 percent.
Advertisement - story continues below
The Dow Jones industrial average closed 70.92 points lower at 24,538.06 after falling as much as 391 points. Johnson & Johnson and Merck were among one of the best-performing stocks in the index, rising 1.2 percent each.