Wells Fargo announced Thursday afternoon that C. Allen Parker, the bank’s top attorney, has been elected by the board to take over as the interim CEO and president.

Parker will start in his position immediately, according to the bank’s press release, while current president and CEO Tim Sloan will retire on June 30.