Director Lynne Ramsay has reached a legal settlement with producers behind Natalie Portman's new western Jane Got A Gun after quitting the project on the eve of filming.

Production was thrown into chaos last March (13) after the Scot abruptly walked away from the movie, forcing executives to delay the shoot.

Film bosses, led by Scott Steinfdorff, filed suit against Ramsay in November (13), accusing her of breach of contract and fraud, after taking a $750,000 (£468,750) payment for a job she didn't complete, but the two parties have since reached a deal to avoid going to court.

A joint statement obtained by reads: "Jane Got a Gun Production Llc and Lynne Ramsay announce the pending civil action and all other disputes between the parties associated with Jane Got a Gun Motion Picture have been resolved privately and to their mutual satisfaction."

Details of the agreement have not been revealed.

The We Need to Talk About Kevin director was subsequently replaced by Gavin O'Connor.

Ramsay's exit wasn't the only drama surrounding the movie - Michael Fassbender was replaced by Jude Law, who was in turn replaced by Bradley Cooper, who exited the film last May (13).

Original stars Portman and Joel Edgerton were eventually joined by Ewan MCGregor when filming got underway last summer (13).