Amber Heard and Johnny Depp both wanted to settle their divorce without going to trial.
The former couple came to an agreement on Tuesday (16.08.16), one day before they were due in court and sources say both had their own reasons for avoiding a legal battle.
A source told E! News: "Amber was happy to settle because she wanted everything to be over. It's taken a toll on her, her family and her friends in a very emotional way.
"Johnny did not want to go to trial. Since Amber filed the restraining order, Johnny had hoped things would settle."
Johnny and Amber split in May and the actress was granted a restraining order after accusing him of domestic abuse.
Amber alleged Johnny threw a phone at her during an argument and insisted there were other instances where he had been violent towards her but she filed court papers to dismiss her domestic violence case against the actor once they agreed on a reported seven-million-dollar settlement.
The insider added: "Initially, being the stubborn people they are, they both didn't want to give in to each other's requests. For a long time, Amber lived with a lot of hurt and had been deeply affected by Johnny's behaviour, but chose not to say anything. Whenever something would happen, he'd apologise, and they'd move on. Johnny never wanted the world to know any of this."
Amber, 30 and Johnny, 53, said in a joint statement: "Our relationship was intensely passionate and at times volatile, but always bound by love. Neither party has made false accusations for financial gain. There was never any intent of physical or emotional harm. Amber wishes the best for Johnny in the future. Amber will be donating financial proceeds from the divorce to a charity."