(Photo by Jason Merritt/Getty Images)



Amber Heard has dismissed her domestic violence restraining order petition against Johnny Depp, because TMZ has learned the case has settled.

Amber and Johnny filed legal docs Tuesday in which Amber withdrew her request for a restraining order. She had alleged Johnny brutalized her on May 21 but now the case is over. She dismissed the case with prejudice, meaning she can never re-file it.

The divorce case, which was tied to the domestic violence petition, is also resolved. As we reported, our sources say Johnny agreed to pay Amber approximately $7 million to walk away … that includes attorneys’ fees … at a point, $8 million was on the table, so she ended up with a mil less.

For more celebrity news, visit Yahoo View.

As we reported, Johnny’s lawyers, Laura Wasser and Blair Berk, along with Amber’s lawyers, Pierce O'Donnell and Samantha Spector, crafted a settlement after Amber was grilled Saturday during a deposition.

Amber and Johnny released a joint statement: “Our relationship was intensely passionate and at times volatile, but always bound by love…”

The statement goes on: “Neither party has made false accusations for financial gains.” That’s an interesting sentence, because it does not say neither party has made false statements.

And it goes on … “There was never an intent of physical or emotional harm.”

And it ends this way … “Amber wishes the best for Johnny in the future. Amber will be donating financial proceeds from the divorce to a charity.” She does not specify what percentage and which charity.