Stocks closed higher on Wall Street, capping a four-week rally.
Energy companies were among the biggest gainers Friday as energy prices continued to recover. Devon Energy surged 11 percent and Anadarko Petroleum added 9 percent.
Bank stocks also rose sharply. That sector had been beaten down in recent weeks as investors worried about loans to highly leveraged energy companies going bad.
The gains nearly brought the market back to breakeven for the year.
The Dow Jones industrial average rose 218 points, or 1.3 percent, to 17,213.
The Standard & Poor’s 500 index gained 32 points, or 1.6 percent, to 2,022. The Nasdaq composite climbed 86 points, or 1.9 percent, to 4,748.
Bond prices fell. The yield on the 10-year Treasury note rose to 1.98 percent.