U.S. stocks closed mixed on Wednesday, wrapping up a turbulent April marked by economic contraction and trade policy uncertainty.

The S&P 500 rose 0.15%, the Nasdaq Composite lost .086%, and the Dow Jones Industrial Average gained 141 points after new data showed the U.S. economy shrank for the first time since 2022.

According to the Commerce Department, first-quarter GDP fell at a 0.3% annualized rate, reversing a 2.4% gain from the previous quarter.

The contraction was partly attributed to a 41% surge in imports as businesses stockpiled ahead of President Trump’s new tariffs.

Consumer spending also slowed to its weakest pace in over a year, and government expenditures declined, further dragging on growth.