NEW YORK - Stocks ended the day little changed Wednesday after a rally prompted by the Federal Reserve's latest economic stimulus program fizzled out.

The Dow Jones industrial average closed down 2.99 points at 13,245.45. It had risen as much as 81 points after the Fed said earlier in the day that it would extend a bond-buying plan and keep interest extremely low.

The S&P finished 0.64 points higher at 1,428.48. The Nasdaq composite was down 8.49 points at 3,013.81.

The Fed said it will keep spending $85 billion a month on bond purchases to drive down long-term borrowing costs and stimulate economic growth. Of that amount, it will spend $45 billion on long-term Treasury purchases to replace a previous bond-buying program of equal size.

The central bank also said it would keep its key short-term interest rate near zero at least until the unemployment rate drops below 6.5 percent or inflation rises to 2.5 percent. Previously, it had said that it expects to keep the rate low until at least mid-2015.

The enthusiasm over the Fed's announcement, which came at 12:30 p.m. Philadelphia time, was short-lived. It briefly drew investors' attention away from the tense, high-level budget talks taking place in Washington. Also, the amount of bond buying the central bank said it would undertake was in line with what investors were expecting, said Joseph Tanious, a Global Market Strategist with J.P. Morgan Funds.

The Dow and the S&P advanced for the previous five days as optimism increased that a deal to avoid the fiscal cliff can be struck in Washington. The S&P is trading at its highest in five weeks and has now erased all of its post-election losses.

Chemicals giant DuPont Co., of Wilmington, advanced 61 cents, or 1.4 percent, to $44.30 after the company unveiled plans to buy back up to $1 billion of its shares next year and said that profit for this year will reach the high end of its forecasts.

The yield on the 10-year Treasury note rose 5 basis points to 1.71 percent.

In other stock moves:

Health insurer Aetna Inc. rose $1.43 to $45.91 after the company said late Tuesday that it expects sales and profit to grow next year.

Berkshire Hathaway's Class A shares jumped $3,169, or 2.4 percent, to $134,045 after the company paid $1.2 billion to repurchase 9,200 shares from the estate of a longtime shareholder. The company's board also approved paying higher prices for future buybacks.

Netflix rose $4.65, or 5.4 percent, to $90.73 after Morgan Stanley raised its prices target on the stock to $105 from $80 and kept its "overweight" rating. The company's deal with Disney, announced Dec. 4, will be a boon to Netflix, according to the investment bank's analysts.