New York: Wells Fargo & Co. agreed to pay $480 million to settle a class-action lawsuit in which investors accused the bank of securities fraud related to its fake-account scandal.

The settlement resolves the main class-action suit brought by shareholders targeting the bank’s allegedly deficient disclosures related to its sales practices. It had previously set aside reserves for the settlement, according to a regulatory filing on Friday. Wells Fargo said in a statement that it denies the allegations in the suit.

“Moving to put this case behind us is in the best interest of our team members, customers, investors and other stakeholders," chief executive officer Tim Sloan said in the statement.

This is the latest cost for Wells Fargo from a consumer banking scandal that arose in September 2016. That issue, in which employees opened as many as 3.5 million bogus accounts, ultimately cost then-CEO John Stumpf his job. The bank still faces a bevy of other lawsuits on related matters.

Last month, the San Francisco-based bank settled with the Office of the Comptroller of the Currency and the Consumer Financial Protection Bureau for an unprecedented $1 billion to cover issues in auto lending and mortgages. In February, the Federal Reserve imposed a sanction prohibiting the bank from boosting total assets beyond their level at the end of 2017 until it fixes shortcomings.

The lender said in a filing Friday that “reasonably possible" legal charges could be as high as $2.6 billion beyond reserves as of 31 March. This is down from $2.7 billion in the previous quarter.

Wells Fargo executives are set to update analysts and shareholders on financial targets and regulatory matters at an investor day scheduled for 10 May.