The damaged windows on the 32nd floor room that was used by the shooter in the Mandalay Hotel.

An injured person is tended to during the after the massacre in 2017.

A $735 million settlement has been reached in lawsuits stemming from the 2017 Las Vegas massacre, lawyers said Thursday.

MGM Resorts International agreed to pay the whopping amount to resolve claims that it did nothing to prevent Stephen Paddock from entering the Mandalay Bay hotel with a cache of assault-style weapons.

Paddock opened fire on the crowd of 22,000 concertgoers at an outdoor country music festival on the Las Vegas Strip on Oct. 1, 2017, from his 32nd-floor room, slaughtering 58 and injuring hundreds.

He killed himself as cops closed in. Authorities later found 23 assault-style weapons in his room, many equipped with bump stocks that allowed them to fire rapidly like machine guns.

The total settlement amount could balloon to $800 million, depending on how many claimants opt in, according to Mo Aziz, a lawyer who represents more than 1,300 victims and survivors.

“While we cannot eliminate the physical and emotional scars suffered by the thousands of people impacted by this tragic event, we hope this resolution will provide some sense of closure to our clients,” Aziz said in a statement. “In this era of mass shootings, this settlement sends a strong message to the hospitality industry that all steps necessary to prevent mass shootings must be taken.”

The settlement creates the third-largest victims compensation fund in US history, according to claims administrator Kenneth Feinberg, who doled out money in other major attacks and disasters. He oversaw $7.1 billion in victim compensation after the Sept. 11 attacks and $6.5 billion following the 2010 BP oil spill in the Gulf of Mexico.

An independent administrator will be appointed by a court to distribute the settlement money, attorneys and MGM said. They expect to conclude the work by late next year.

Jim Murren, chairman and chief executive of MGM Resorts, said the company’s goal has always been to help the families move forward.

“This agreement with the plaintiffs’ counsel is a major step, and one that we hoped for a long time would be possible,” he said in a statement.

A clear motive has never been determined in the slayings, the deadliest mass shooting in modern US history.

With Post wires