The stock markets are back in full force mode, the latest sign of investor confidence after a year of turmoil that left the U.S. economy mired in recession and caused investors to hold on to their money.

On Wednesday, the Nasdaq Composite Index, which measures stocks traded on the New York Stock Exchange, rose nearly 3% to 4,622.53, a five-month high.

The S&P 500 rose 1.5% to 2,788.84.

The S&amps are still down more than 2% this year, after a six-month period of gains that has lifted them above their 2008 lows.

The Dow Jones Industrial Average fell 10.7 points, or 0.9%, to 24,946.75, and the Nasco 300 index of small-cap stocks, which tracks U.K. companies, dropped 0.4% to 5,919.14.

The Dow Jones fell by 3.9 points, to 2427.11, and S&ams index of U.E. stocks, also known as the Russell 2000, fell 3.1%, to 567.06.

The Nasdaq is down 4.1% in the past year.

Ahead of the market’s most significant session in almost two years, investors piled into stocks amid a slowdown in China and concerns about a possible political crisis in Ukraine.

The U.N. Security Council will meet Friday to discuss a resolution on Crimea that could lead to a conflict between Ukraine and Russia.

The U. S. government has also stepped up sanctions on some Russian individuals and companies as part of the economic sanctions.

The Treasury Department last month said it was increasing the penalties for Russia and China for violating sanctions.

Shares in U.s. companies rose on hopes that the Federal Reserve will soon raise interest rates and that Congress could pass legislation to ease those concerns.

U. s. companies posted a profit of $6.6 billion in the last three months of 2015, the most since 2009.