(Bloomberg) -- Bitcoin rose above $10,000 for the first time since June 10.

The largest cryptocurrency spiked into five digits around 6 a.m. New York time on Sunday --- rising as high as $10,169, according to pricing compiled by Bloomberg. But it didn’t stay there long, falling back into the $9,000s about 10 minutes later, bouncing around for a while and then paring gains more decisively. It was up 1.7% to $9,893 as of 10 a.m.

Bitcoin, which crypto fans have often touted as “digital gold,” is in favor as the yellow metal nears record levels, concerns rise about the health of the world economy and the dollar falls. Also, last week, the U.S. Office of the Comptroller of the Currency said American banks can provide custody services for customers’ crypto assets, which could help boost the asset class’s appeal with some investors.

The cryptocurrency had been hovering near its 50-day moving average for weeks before pulling above it in the past couple of days.

Bitcoin has enjoyed above-average flows this year, and those flows are relatively high versus their five-year average when compared with those of exchange traded funds in other asset classes, according to a report from JPMorgan Chase & Co. strategist John Normand on Friday.

©2020 Bloomberg L.P.