Investors flooded the world's largest exchange-traded fund on March 1 with the most new cash in more than two years, a spokesman said on Thursday, as they raced to capture gains in a soaring market.

The SPDR S&P 500 ETF (SPY) attracted $8.2 billion on Wednesday, the largest inflows since December 2014 and the ninth largest figure of all time for the fund, according to the spokesman.

The $241 billion fund, which tracks the closely watched S&P gauge of big U.S. corporations, was launched in 1993.

The Dow Jones Industrial Average on Wednesday soared past the 21,000 mark for the first time as investors took a brighter view of economic growth prospects after U.S. President Donald Trump's first speech to Congress and as U.S. Federal Reserve officials suggested they may consider raising interest rates this month.

This article was provided by Reuters.