The Wells Fargo executive in charge of the unit where employees allegedly opened unauthorized accounts is walking away from the bank with tens of millions of dollars in stock and options.

The bank in July announced the departure of Carrie Tolstedt, former head of community banking, saying she made the decision to "retire at year's end after a long and successful career."