The Saudi Arabia Public Investment Fund in the fourth quarter of last year dumped nearly all the shares of Tesla it owned, missing out on a big windfall, a new filing Tuesday revealed.

The fund now holds about 39,000 shares of the stock after selling 99.5% of its holding last year, according to InsiderScore.com and public filings. The fund held more than 8.2 million shares by the end of the third quarter of 2019, according to filings with the Securities and Exchange Commission.

Those shares would be worth more than $7 billion at Tesla's price Tuesday.

The selling by the end of fourth quarter means the fund missed out on Tesla's massive rally in the new year. Shares of the electric-car maker soared 13% to about $887 on Tuesday, bringing its 2020 gains to more than 110%.