MGM Resorts International has agreed to pay up to $800 million to settle lawsuits brought by victims of the 2017 mass shooting at its Mandalay Bay Casino in Las Vegas, according to plaintiffs lawyers, who announced the deal Thursday.

The total settlement is between $735 million and $800 million, depending on the number of victims who participate, according to a release by Las Vegas-based Eglet Adams, which represents 2,500 victims and their families. At a press conference on Thursday, Robert Eglet, name partner at Eglet Adams, said the total number of potential claimants was about 4,400, represented by more than 65 law firms, and he believed that “quite frankly, that all claimants, represented claimants, will choose to participate.”