WASHINGTON — Wells Fargo’s CEO faced withering criticism from a Senate panel Tuesday for the bank’s handling of a 2016 scandal after it created millions of fake accounts in customers’ names.

“At best, you’re incompetent; at worst, you were complicit,” said Sen. Elizabeth Warren, D-Mass. “Either way, you should be fired.”

“What in God’s name were you thinking?” demanded Sen. John Kennedy, R-La.

Sen. Sherrod Brown of Ohio, the ranking Democrat on the panel, said Wells Fargo “went to great lengths to bury this scandal.”