After a two-month dry spell, Strategy has resumed its Bitcoin buying spree. On Monday, the world’s largest digital asset treasury announced that it had purchased $370 million worth of Bitcoin at an average price of roughly $80,300 per BTC. Strategy shares rose nearly 3% following the announcement and were trading at about $130.

The company bought Bitcoin using part of the money it raised by selling newly issued MSTR shares, according to the SEC filing. It used the rest to pay dividends and repurchase STRC, a separate class of Strategy shares that pays investors regular income, and add $30 million to its cash balance.

Strategy’s latest purchase comes amid a brief rebound in Bitcoin, which was trading at roughly $78,800 on Monday. After spending much of the previous 10 months in a bear market, the cryptocurrency jumped more than 23% in a single day on Aug. 21, reclaiming $79,000 for the first time since May, according to crypto data aggregator CoinGecko. Bitcoin’s recent rally has also pushed the value of Strategy’s holdings back above what it paid for them, reversing a trend of steep paper losses.

Strategy, which holds 4% of the total Bitcoin supply, has struggled in recent months. The company’s aggressive accumulation model, which was historically funded through sales of new shares and borrowed money, came under pressure during the downturn. As Bitcoin’s value fell, Strategy’s holdings became less valuable, while its ability to raise fresh cash to continue its purchases weakened.