The chief executive of Denmark’s Danske Bank resigned Wednesday after an internal investigation found “major deficiencies” that allowed its Estonian branch to launder hundreds of billions of dollars in Russian money, in what is being called the largest money-laundering scandal in European history.

In a statement, the bank said CEO Thomas Borgen will remain in his position until a replacement is named. Borgen announced his resignation at the same time as the bank presented the results of an internal investigation.