An early rally in stocks faded in the afternoon Thursday after Federal Reserve Chairman Ben Bernanke signaled no immediate further steps from the Fed to stoke economic growth in the United States, which has recently shown signs of faltering.

The Dow Jones industrial average rose 46.17 points, or 0.4 percent, to 12,460.96.

The Standard & Poor's 500 fell 0.14 points, or 0.01 percent, to 1,314.99.

The Nasdaq composite index fell 13.70 points, or 0.5 percent, to 2,831.02.

For the week:

The Dow is up 342.39 points, or 2.8 percent.

The S&P 500 is up 36.95 points, or 2.9 percent.

The Nasdaq is up 83.54 points, or 3 percent.

For the year:

The Dow is up 243.40 points, or 2 percent.

The S&P 500 is up 57.39 points, or 4.6 percent.

The Nasdaq is up 225.87 points, or 8.7 percent.