Megan Fox has agreed to settle a legal battle with Brad Pitt's manager after a property dispute.
The 35-year-old actress purchased the $3.3 million Malibu mansion from Cynthia Pett-Dante in 2016 but soon realised that it had serious problems - including mould and leaks - and required at least $500,000 in remedial work.
Megan filed a $5 million lawsuit against Pett-Dante and made the extraordinary claim that the property had given her "chronic migraines" and "constant stress".
However, a court order earlier this month ruled in favour of Pett-Dante as Judge David Soleto granted her motion for summary judgement.
Cynthia offered a $100,000 compromise deal under the California civil code 998, where either party can propose a settlement before the case goes to trial.
The deal was accepted by Megan and is one-fiftieth of the amount she had demanded, according to court papers obtained by MailOnline.
The judge pointed the finger at the 'Jennifer's Body' star during the case for ignoring the advice of real estate lawyer Joseph D'Onofrio, who had described the property as a "nightmarish, ill-advised and risky" purchase.
Megan also admitted to not reading vital emails or inspection reports that would have alerted her to the mansion's problems.
When asked during her testimony, she said: "(No), because I pay other people to read them and tell me what's in them and advise me on what I should do or not do."
Megan confessed to pushing the sale through because it was the only home in Malibu in her price range and wanted her children to go to a new school there. She also gave birth to her third child three months after the purchase, which Megan believes led to her failing to realise the gravity of the situation.
The star said in her testimony: "Well, for me it's hazy. I just had a baby. So I was concentrating on that. I remember that the estimate came in very high. We didn't have that kind of money sitting around where I could fix it and be okay.
"So there were a lot of discussions about me needing to go back to work pretty quickly after having the baby, in case I was going to have to fix this. I don't recall exactly. It was high. I believe the first estimate was high. Upwards of $500,000."
Tagged in Megan Fox