NEW YORK (TheStreet) -- Stocks shrugged off the malaise that has pressured Wall Street over the past few sessions to rise sharply on Wednesday. Investors piled into equities as crude oil secured a close above $61 a barrel and Greece's future brightened.
The Dow Jones Industrial Average added 1.3%, or 236 points, the S&P 500 rose 1.2% and the Nasdaq gained 1.3%.
Crude oil rallied on Wednesday as weekly domestic oil inventories declined 6.8 million barrels over the week ended June 6, according to the Energy Information Administration. Analysts had expected domestic inventories to fall just 1.7 million barrels after a 1.9 million-barrel decline a week earlier. West Texas Intermediate crude settled 2.1% higher to $61.43 a barrel.
The energy sector rallied on higher crude prices. NRG Energy (NRG), Freeport-McMoRan (FCX) and Transocean (RIG) topped the S&P 500 while Chevron (CVX) and Exxon Mobil (XOM) were among the best performers on the Dow. The Energy Select Sector SPDR ETF (XLE) jumped 1.2%.
The ECB said Wednesday it had raised the amount the Greek central bank can loan to national banks to 83 billion euros ($94.1 billion), up from a previous limit of 80.7 billion euros. That marks the largest weekly increase since mid-February.
Separately, Germany is reportedly considering offering some debt relief to Greece if it commits to at least one economic reform, sources told Bloomberg. The conciliatory step would allow the debt-ravaged country to repay at least some of its debt due to European creditors on June 30 while further negotiations take place. The National Bank of Greece (NBG) moved higher on the reports.