Survivors and relatives of the British tourists killed in the 2015 Tunisia beach massacre have agreed a settlement with travel firm Tui UK.
Seifeddine Rezgui killed 38 people, including 30 Britons, at the Riu Imperial Marhaba hotel complex on the Sousse coast, with dozens more injured, on June 26 that year.
Among the victims were three members of the same Black Country family: 19-year-old Joel Richards, 49-year-old Adrian Evans and 78-year-old Patrick Evans.
Joel's brother Owen, who was aged 16 at the time, was the only member of the family to survive the attack.
The victims alleged that Tui UK was responsible for safety and security breaches at the hotel, which the company denied, and a trial of liability issues was expected to take place at the High Court in February.
However, on Thursday, the tour operator and Irwin Mitchell, the law firm representing more than 80 victims, said in a joint statement that they have reached a settlement "without admission of liability or fault", bringing the legal action to an end.
They said: "The tragic events of 26 June 2015 in Tunisia shocked and devastated us all and changed the lives of those affected forever. Tui has always expressed heartfelt condolences to the families and friends of those caught up in the terrorist attack that day and continue to extend deepest sympathy.
"The claimants have fought tirelessly to understand how the attack happened and to seek to ensure that lessons have been learned so that other families are not affected by similar tragedy.
"Tui has worked collaboratively with the claimants and their representatives, Irwin Mitchell, to reach a settlement without admission of liability or fault and in recognition of the wholly exceptional circumstances of the case, and in the hope that it will go some way to assisting the claimants.
"Tui appreciates how difficult it must be to move on from such a horrific incident but hopes today will provide the opportunity for those affected to start to do so."
In 2017 the coroner conducting the inquests of the 30 Britons who died in the attack ruled they were unlawfully killed.
However, Judge Nicholas Loraine-Smith ruled against a finding of "neglect" by Tui, or the owners of the Riu Imperial Marhaba.
Following the findings Suzy Evans, from Wednesbury, said she planned to launch civil action against TUI.
Victims Joel, Adrian and Patrick were her son, brother and father respectively. Survivor Owen is her son.
Owen and Suzy set up the Smile For Joel charity in the aftermath of the massacre and have spent the past six years raising hundreds of thousands of pounds in memory of their relatives.
Joel was a student at Worcester University and an upcoming football referee, while Adrian lived in Bilston and had worked for Sandwell Council for more than 30 years. Grandfather Patrick was from Wednesbury. All of the family were avid Walsall FC supporters.