Barrick Gold surged more than 10% during premarket trading Monday after Warren Buffett’s Berkshire Hathaway revealed it bought a stake in the mining company.

Berkshire Hathaway bought 21 million shares of the gold and copper miner worth roughly $564 million in the last quarter, according to a Friday filing with the Securities and Exchange Commission.

The buy comes as a bit of a surprise, as Buffett has been a critic of gold in the past, saying that it isn’t as good of an investment as businesses, farms, and real estate. Still, the precious metal has been on a tear this year, as coronavirus pandemic panic has sent investors rushing into the so-called safe-haven asset.

Read more: A Wall Street investment chief says the relentless surge in big tech stocks is headed for an abrupt ending – and warns it could sink the entire market by 40%

While the stake in Barrick Gold is small for Berkshire Hathaway - the entire portfolio is worth about $202 billion - Buffett's company is now the eleventh-largest shareholder for the miner.

Beyond the investment in Barrick Gold, Buffett's Berkshire Hathaway trimmed stakes in big banks such as Wells Fargo and JPMorgan, and exited Goldman Sachs.

Barrick Gold has surge 45% year-to-date through Friday's close.

Screen Shot 2020 08 17 at 8.24.04 AM

Foto: Source: Markets Insider