Buffett’s Apple commitment over the past two years has surprised many, given his historical aversion to companies associated with the technology sector.

Berkshire’s initial investment in Apple was small, suggesting it was made by one of Buffett’s investment deputies, but with the latest stake purchase, it has grown to a solid 240.3 million shares worth $42.5 billion.

“If you look at Apple, I think it earns almost twice as much as the second most profitable company in the United States,” CNBC quoted Buffett as saying.

The billionaire investor recently sold out of an unsuccessful investment in International Business Machines Corp, at the same time he was buying Apple.

Berkshire said in February Berkshire’s Apple stake grew by about 23 percent since the end of September to roughly 165.3 million shares. [nL2N1Q422I]

Buffett has praised Apple Chief Executive Tim Cook and suggested he views Apple more as a consumer company, despite its Silicon Valley pedigree.

However, there may also be another reason for the investment: Berkshire’s cash position.

Berkshire has gone more than two years since a major acquisition, and Buffett said in his annual letter that he wants one or more “huge” non-insurance acquisitions to help him reduce Berkshire’s $116 billion in cash and equivalents.

Buying Apple accomplishes that, even though Buffett would rather buy whole companies than their stocks.

Berkshire typically discloses its largest common stock holdings and percentage stakes in its quarterly and annual reports. The report for the first quarter is scheduled for release on Saturday morning, just before Berkshire’s annual shareholder meeting in its Omaha, Nebraska, hometown.