Stocks rallied in a wild session after the Federal Reserve raised rates and said it would hike another six times this year.

The Dow Jones Industrial Average rose 518.76 points, or 1.5%, to 34,063.10 after turning red initially following the release of the Fed's statement. It swung within a 576-point range on the session. The S&P 500 added 2.2% to 4,357.86, and the Nasdaq Composite gained 3.7% to 13,436.55.