A plan to revive Europe's sagging economy rippled through markets on Thursday and swung the Standard & Poor's 500 stock index into positive territory for the year.

For the day:

The Dow Jones industrial average climbed 259.70 points, or 1.5 percent, to 17,813.98.

The S&P 500 rose 31.03 points, or 1.5 percent, to close at 2,063.15.

The Nasdaq gained 82.98 points, or 1.8 percent, to 4,750.40.

For the week:

The Dow is up 302.41 points, or 1.7 percent.

The S&P 500 is up 43.73 points, or 2.2 percent.

The Nasdaq is up 116.01 points, or 2.5 percent.

For the year:

The Dow is down 9.09 points, or 0.1 percent.

The S&P 500 is up 4.25 points, or 0.2 percent.

The Nasdaq is up 14.34 points, or 0.3 percent.