(Reuters) - Wells Fargo & Co WFC.N said on Thursday it would reduce its headcount by about 5 percent to 10 percent within the next three years as part of a turnaround plan.

FILE PHOTO: A Wells Fargo bank sign is pictured in downtown Los Angeles, California, U.S. August 10, 2017. REUTERS/Mike Blake/File Photo

As of June 30th, the nation’s fourth largest bank had roughly 264,500 employees, making a 10 percent reduction representative of about 26,450 jobs. Wells Fargo said the latest reduction would reflect displacements as well as normal team-member attrition.

The cuts will help Wells reach its goal of reducing costs by $4 billion by 2020 as it tries to grow profits and recover from a series of scandals while operating under the Federal Reserve’s asset cap.

Wells Fargo has also said it will reduce its branch count by about 800 by 2020 and sell non-core businesses to lower costs and become more efficient. Last month the bank laid off 600 employees in its mortgage division which has faced headwinds amid a slowdown in refinancing demand.

The layoffs were not a surprise according to Keefe Bruyette & Woods analyst Brian Kleinhanzl and that sentiment was reflected in Wall Street’s muted reaction to the news. The stock rose 0.6 percent to $55.55 during Thursday trading.

“Employee related costs are the largest expense so that was likely where the cuts were coming,” he said. Automation also lowers the need for staffing over time.”

The bank did not specify which departments or regions would be impacted by the reductions, but it said the cuts will be made to reflect changing consumer preferences as more customers perform banking tasks using self-service technology.

“Wells Fargo takes very seriously any change that involves its team members, and as always, we will be thoughtful and transparent, and treat team members with respect,” said Chief Executive Tim Sloan in a statement.

Wells Fargo reported a lower-than-expected quarterly profit in July as lending activity slowed and the bank said much of the decline had to do with moves to avoid riskier loans.

Wells Fargo’s shares rose 0.6 percent to $55.55 in late afternoon trading on Thursday.