OMAHA, Neb. (AP) — Warren Buffett’s company now owns 10 percent of Wells Fargo’s stock because Berkshire’s Hathaway’s stake grew as the bank repurchased its own stock.

Berkshire Hathaway said in documents filed with the Securities and Exchange Commission that it now owns 504.3 million shares of Wells Fargo stock.

In addition to the shares Berkshire owns, Buffett holds another 2 million shares personally. He is chairman and CEO of the Omaha, Nebraska, based conglomerate.

San Francisco-based Wells Fargo is one of Berkshire’s biggest stock investments, and Buffett has praised the bank in the past.

Besides investments, Berkshire owns about 90 subsidiaries in a variety of industries, including insurance, utilities, railroads, retail and manufacturing.

In another development, the bank has agreed to pay $8.5 million and better inform customers when they are being recorded, California officials said Tuesday.

State Attorney General Kamala Harris and district attorneys in five California counties sued Wells Fargo Bank last month, alleging the bank was breaking state law by not quickly telling customers their telephone calls were being recorded.

Customers won’t be compensated under the agreement approved by a Los Angeles County Superior Court judge on Monday. But the settlement requires the bank to contribute $250,000 to each of two statewide organizations that promote consumer protection and privacy rights, the Privacy Rights Clearinghouse and the Consumer Protection Prosecution Trust Fund.

The settlement also requires the bank to pay more than $1.33 million to the attorney general’s office and each of five district attorneys’ offices, in Alameda, Los Angeles, Riverside, San Diego and Ventura counties.

“Customer service is at the heart of everything we do and Wells Fargo informs customers that calls are being recorded,” the bank said in a statement. It agreed under the settlement to make sure that the required disclosure is made at the beginning of customer calls.

California has some of nation’s strongest privacy laws. Harris, a Democrat who is running for the U.S. Senate, said in a statement that enforcing them “is increasingly crucial as technology rapidly develops and becomes a bigger part of our lives.”

She said Wells Fargo cooperated, without admitting liability, once it was told of the alleged shortcomings in how it was notifying customers.