California attorney general investigating Wells Fargo bank

In this Sept. 20, 2016, file photo, Wells Fargo CEO John Stumpf testifies on Capitol Hill in Washington, before the Senate Banking Committee. California Attorney General Kamala Harris announced she has launched a criminal investigation into the sales practices of Wells Fargo, on Wednesday, Oct. 19, 2016. (AP Photo/Susan Walsh, File) (The Associated Press)

FILE - In this July 14, 2014 file photo, a man passes by a Wells Fargo bank in Oakland, Calif. California Attorney General Kamala Harris announced she has launched a criminal investigation into the sales practices of Wells Fargo, on Wednesday, Oct. 19, 2016. (AP Photo/Ben Margot, File) (The Associated Press)

FILE - In this May 23, 2016 file photo, Attorney General Kamala Harris appears with California Gov. Jerry Brown, right, during a news conference in Sacramento, Calif. Harris announced she has launched a criminal investigation into the sales practices of Wells Fargo, on Wednesday, Oct. 19, 2016.(AP Photo/Rich Pedroncelli, File) (The Associated Press)

California's attorney general is leading a criminal investigation into the sales practices scandal that has rocked San Francisco-based Wells Fargo bank.

A search warrant released Wednesday by the state Department of Justice shows that agents sought evidence related to allegations that bank employees created up to 2 million bank and credit card accounts without customers' approval in order to meet sales goals.

The warrant, first reported by the Los Angeles Times, was served Oct. 5 as Attorney General Kamala Harris runs for the U.S. Senate.

Copies obtained by The Associated Press show her office sought the names of customers who had accounts opened without their permission, employees who opened the accounts and their managers, and fees associated with the improperly opened accounts.

Harris' office and the bank did not comment.