Amber Heard is facing a legal battle with her ex-husband, Johnny Depp, and Elon Musk was among the prominent names dragged into this case.

Depp and Heard are battling over a 2018 op-ed the actress wrote for the Washington Post, calling herself a domestic violence survivor.

The piece did not mention Depp by name, but the actor claimed he was booted from the "Pirates of the Caribbean" franchise due to the "clear implication" that he was the abuser in his ex-wife's op-ed.

The Tesla CEO was included in Heard's list of 80 possible witnesses she earlier wanted to call upon to back up her story of being beaten and abused by her ex-husband. However, Musk declined to appear at the trial.

Depp's camp has accused Heard of having "extra-marital affairs" with Musk and James Franco. They reportedly showed footage of the actress having late-night "meetings" with Franco and Musk to the jury.

According to Marca, the black and white videos wherein Heard was seen getting into an elevator with Franco and Musk on separate occasions were shown to the jury.

Heard has already confirmed that Franco was the one recorded in the elevator with her on May 22, 2016. However, she claimed they were only talking, and the actor was asking her what had happened to her face.

When it comes to Musk, Heard said in a 2020 statement that the Tesla CEO did not visit her in their apartment in 2015 while Depp was away. The actress said she did not have any "illicit relationships," and she was not in touch with the SpaceX founder until the following year.

Musk echoed what Heard claimed and said that he and the actress started going out about a month after Heard's divorce filing. After both sides gave their closing statements last week, the world's richest man shared his thoughts about the trial.

Responding to podcast host Lex Fridman, Elon Musk tweeted: "I hope they both move on... At their best, each of them is amazing."

READ NEXT: Johnny Depp: Here's What He's Been up to as He Awaits Verdict in Amber Heard Defamation Trial

Amber Heard Dating History With Elon Musk

Elon Musk once shared a romantic relationship with Amber Heard. Here's a look at their year-long romance story to give you an idea of how their relationship flourished.

Amber Heard and Elon Musk's First Meeting

According to Page Six, Amber Heard and Elon Musk first met in 2013 on the set of the film "Machete Kills" by Robert Rodriguez. However, the billionaire insisted that they were not yet together then. Musk said they were nothing more than friends until Heard's divorce from Depp and the Tesla CEO's divorce from then-wife Talulah Riley.

Their divorce from their respective partners was finalized in 2016. However, there were reports that the two were already spotted spending time together amid Heard's divorce from Depp.

Amber Heard and Elon Musk's Relationship Officially Started in 2017

Amber Heard and Elon Musk made everything between them official in April 2017. The former couple reportedly posted a photo of them at a dinner, where Heard was posing in red lipstick and left a mark on Musk's cheek, Us Weekly reported.

A source told People at the time that Musk started pursuing Heard when they were both single. However, that same year, Heard and Musk announced their first breakup, citing schedules and intense work. Musk said they remained friends despite their split.

Amber Heard and Elon Musk Reunited in 2018

In February 2018, or five months after their first breakup, Amber Heard and Elon Musk gave their relationship another try. However, after a month, the two decided to end their relationship for good.

As she talked about their breakup on Instagram, Heard said they still deeply care for one another and remain close. For his part, Elon Musk later commented on one of Heard's Instagram posts, writing that "although Amber and I did break up, we are still friends, remain close and love one another."

READ MORE: Amber Heard Dating History: Johnny Depp, Elon Musk and Some Latino Men She's Been With

This article is owned by Latin Post.

Written by: Joshua Summers

WATCH: Elon Musk Speaks Out On Amber Heard, Johnny Depp Trial - From ET Canada