Twitter said it would pay over $809.5 million to settle a class-action securities lawsuit accusing the company of misleading investors about user engagement.

The original lawsuit, filed in 2016 by a Twitter shareholder, alleged that Jack Dorsey and others including former CEO Dick Costolo and board member Evan Williams hid facts about Twitter’s slowing user growth while they sold their personal stock holdings “for hundreds of millions of dollars in insider profits.”

Reuters reported the complaint and said Twitter discontinued reporting “timeline views” in late 2014 and concealed user engagement that was stagnating or declining by reporting vague descriptions of user metrics. The class action covers investors who purchased the stock from Feb. 6, 2015, to July 28, 2015.

Twitter and the individual defendants continue to deny any wrongdoing or any other improper actions.

Twitter said in a statement that “The proposed settlement resolves all claims asserted against Twitter and the other named defendants without any admission, concession or finding of any fault, liability or wrongdoing by the Company or any defendant.”

The company plans to use cash on hand for the settlement. It’s expected to pay the sum by the end of the year.