Johnny Depp, left, and Amber Heard arrive for the European premiere of their film “The Rum Diary” in 2011. They first met while filming it. (Joel Ryan/AP)

The very public falling out between Johnny Depp and Amber Heard has come to an end, with the two saying they have agreed “to resolve their divorce proceeding privately” and as Heard moved to withdraw abuse allegations.

“Our relationship was intensely passionate and at times volatile, but always bound by love,” reads a joint statement emailed to The Post. “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 Heard leaves Los Angeles Superior Court court on May 27. (Richard Vogel/AP)

In May, Heard accused Depp of domestic violence and filed a restraining order against the 53-year-old actor. She arrived at the Los Angeles Superior Court with a bruised face and alleged that Depp hit her and struck her with a cellphone. Depp was ordered by a judge to stay at least 100 yards away from his estranged wife and have no contact with her until the next court hearing.

News of the settlement came a day before a scheduled hearing on Heard’s restraining-order request. Heard’s move to withdraw that request was first reported by TMZ.

The couple met on the set of the 2011 movie “The Rum Diary,” and dated for a few years before marrying in February 2015. Police were called to a “domestic dispute” in May and “found no evidence of an assault,” Variety reported. Heard, 30, did not file charges at the time; days later, she filed for divorce, citing irreconcilable differences.

Depp had denied allegations of repeated emotional and physical abuse, and several Hollywood figures publicly defended the actor and criticized Heard. Depp’s friend Doug Stanhope wrote a column accusing Heard of blackmail. Actor Paul Bettany tweeted he had known Depp for years “and through several relationships. He’s the sweetest, kindest, gentlest man that I’ve ever known.”

Depp’s representative in May said, “Given the brevity of this marriage and the most recent and tragic loss of his mother, Johnny will not respond to any of the salacious, false stories, gossip, misinformation and lies about his personal life.”

Heard’s lawyers then released a statement saying the actress “suffered through years of physical and psychological abuse” and that Depp’s team was “viciously attacking Amber’s character.”

They also explained why Heard did not press charges against Depp after police arrived at the actor’s apartment in May.

“Amber did not provide a statement to the LAPD in an attempt to protect her privacy and Johnny’s career,” Heard’s attorneys later said in a statement. “In domestic violence cases, it is not unusual for the perpetrator’s playbook to include miscasting the victim as the villain.”

Heard on Tuesday announced she will donate money from the proceedings to charity, according to the statement.