Wells Fargo is trying to clean up the mess created by its high-pressure sales culture, which drove employees to open millions of unauthorized accounts in the names of customers. Pledging accountability, the bank is paying restitution to customers who were charged for these sham accounts, reviewing its process controls, and — as it announced Tuesday — eliminating sales goals for its retail bank products.

In connection with the “widespread illegal practices,” Wells Fargo has also fired 5,300 employees and managers, with one notable exception: the executive in charge.

Instead of bearing any responsibility for this scandal, Carrie Tolstedt, the divisional senior vice president for community banking who supervised the 6,000 retail branches where the wrongdoing took place, is retiring, taking with her millions in stock and options.

Wells Fargo was aware of the problems in the division when Ms. Tolstedt announced her retirement on July 12. The bank’s sales practices have been under regulatory scrutiny since at least November. Further, the bank itself has been working to identify the affected customers and complicit employees.