Gregg Allman has agreed to drop his lawsuit against the producers who were making a movie about his life until a freight train killed a member of the camera crew. The Allman Brothers Band star filed a lawsuit earlier this month against the producers of Midnight Rider, the biopic based on his memoir, My Cross To Bear.

Gregg Allman
Gregg Allman Has Dropped His Lawsuit Against The 'Midnight Rider' Producers.

Now, Allman has reportedly dropped his suit, according to THR, after he and the film producers having reached an out-of-court agreement. "We have come together and reasoned with one another," Allman's attorney David Long-Daniels told the judge, via AP.

The lawyer said Allman wanted Miller and his production company to walk away from the project because the train crash had harmed the singer's reputation.

More: William Hurt to star in basketball drama, 'Men of Granite.'

It's not currently clear whether director Randall Miller and his team will be able to continue work on the film after the tragic death of camera assistant Sarah Jones in February, especially since lead actor William Hurt dropped out. In an open letter, Allman begged Miller not to finish the film due to Jones' death.

Gregg Allman Collaborating For A Cure
Allman's Lawyer Said The Blues Star Was Concerned About Reputation Damage.

Jones died whilst filming when a train hit a bed that had been placed on a railway track as part of a dream sequence featuring William Hurt as Allman. She was reportedly knocked beneath the train.

The director has been accused of taking a "cavalier attitude" towards filming on the track but has hit back with claims that he too nearly lost his life. "I was in the middle of the track and I almost died," said Miller after being questioned as to whether he had taken enough care prior to Jones's death.

Allman Brothers Band
The Parties Have Reportedly Reached An Out-Of-Court Settlement.

He admitted to a court in Savannah on Monday that he had not obtained written permission from railway operator CSX because it was not his job to do so. He also said the production did have permission to use the land from its owner, paper products firm Rayonier.

"I did not know it was a live train trestle," alleged Miller. "We were told there were two trains from Rayonier coming through, and no more trains that day."

More: Gregg Allman dismisses band break-up rumours.