Despite seeing a $3 billion jump in its net income in the second quarter, Bank of America (BAC) is shaking up its senior management, replacing Bruce Thompson, the bank’s chief financial officer and chief risk officer, and making other moves.

According to a Reuters report, the results of March’s Dodd-Frank Stress Test may have had an impact on Thompson.

From the Reuters report:

Thompson was one of the senior executives who played an important role in the firm's stress-test submissions to the U.S. Federal Reserve.

However, BofA failed to win unconditional approval from the U.S. Federal Reserve in March and was asked to get a better grip on its internal controls and data models.

According to a release from Bank of America, Thompson “has decided to step down” after serving as CFO for more than five years.

Paul Donofrio, who has been with Bank of America since 1999 and has 25 years of global corporate and investment banking experience, will become CFO, effective August 1, BofA said in a statement.

Additionally, Global Human Resources Executive Andrea Smith will assume a newly created position as chief administrative officer and Vice Chairman David Darnell has decided to retire by the fourth quarter, after more than 35 years with the company, BofA said.

“The quarterly results we announced last week showed once again how far we have come on our journey over the past few years,” Bank of America CEO Brian Moynihan said. “The changes we are announcing reflect decisions two senior leaders have made about their own futures, and some other changes that will bolster, and in some cases, reposition members of the management team.”

According to the BofA release, prior to being named strategic finance executive for Bank of America and serving as CFO of consumer banking and global wealth and investment management, Donofrio was co-head of global corporate and investment banking, co-head of global investment banking, and head of global corporate banking.

Thompson will remain on the management team until the end of the year and assist Donofrio, BofA said.

Here, from the BofA release, are the additional changes BofA is making:

Smith also will partner with Terry Laughlin and begin a transition of responsibility for the company’s annual Comprehensive Capital and Review (CCAR) submission and Global Resolution and Recovery Planning (GRRP). Laughlin remains responsible for the resubmission of the 2015 CCAR. To ensure a smooth transition, Laughlin will continue to partner with Smith to drive the spring 2016 CCAR submission.

Replacing Smith as Global Human Resources executive is Sheri Bronstein, who will join the management team and report to Moynihan. Bronstein has been the human resources executive for the company’s Global Banking and Global Markets businesses. In her 15 years as a senior human resources executive, she has held leadership roles supporting several lines of business, and is a member of the company’s Global Diversity and Inclusion Council.

Darnell, who currently oversees GWIM, plans to retire in the fourth quarter of this year. Upon Darnell’s retirement and after the company’s 2015 CCAR submission work is completed, Terry Laughlin will assume responsibilities as leader of GWIM and be appointed vice chairman.

Laughlin, who is currently president of Strategic Initiatives, has held various senior leadership positions with Bank of America and Merrill Lynch, including serving as chief risk officer for Bank of America, and chairman and chief executive officer of Merrill Lynch Bank & Trust.

In addition to the management changes announced above, Moynihan announced three senior executives will receive new titles in line with the evolution of their responsibilities.

Anne Finucane is appointed vice chairman and continues as the company’s global chief strategy and marketing officer. This reflects additional responsibilities Finucane has recently taken on for general oversight of the company’s corporate governance process, working closely with the Board of Directors in governance matters and outreach to stockholders in the area of corporate governance practice.

Cathy Bessant remains head of the company’s technology and operations areas. The position is re-designated chief operations and technology officer, effective immediately.

Gary Lynch continues to serve as global general counsel and is appointed vice chairman.