The roaring stock market and crypto gains created more than a million new millionaires in the U.S. last year, according to a new report.

The number of Americans with $1 million or more in investible assets surged to a record 14.6 million in 2021, up from 13.3 million in 2020, according to a report from wealth research firm the Spectrem Group.

The growth rate of over 10% was the strongest in years, boosted by trillions of dollars in wealth created by the stock market, crypto and other assets.

“It was the strongest year ever for millionaire creation in all segments,” said George Walper, president of Spectrem Group.

The wealth surge was strongest at the top. The number of Americans worth $25 million or more surged by 18%. There are now a record 252,000 Americans worth $25 million or more, up from 214,000 in 2020. By contrast, the number of so-called “mass affluent” investors — or those with between $100,000 and $1 million — grew by about 2%.

The stock market was by far the largest engine of wealth creation for millionaires and the wealthy in 2021. The S&P 500 gained 27% last year, while the Nasdaq was up 21%. The wealthiest 1% of Americans gained over $3 trillion in stock-market wealth in 2021, according to Federal Reserve data.

Crypto and other assets — such as NFTs, collectibles, and real estate — also gained in value, adding to the wealth of the wealthy. The total market cap of crypto assets, despite wild swings in prices, gained $1.5 trillion last year to over $2.3 trillion, according to CoinGecko.