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

The total settlement is valued at $735 million to $800 million depending on the number of participants, according to a release by Las Vegas law firm Eglet Adams, which represents 2,500 victims and their families.