Amber HeardhadJames Francoover to her home the night before she filed for divorce fromJohnny Depp.

Heard had said Monday that she was “falling apart” and having difficulty sleeping because of panic attacks over Depp entering the residence she was staying. She testified that building staff would let him in even if she requested he not be allowed.

Vasquez then asked why Heard “felt comfortable having James Franco over the evening of May 22, 2016, Ms. Heard?” Heard responded, “I do not know when James came over,” to which the attorney said, “Okay, let’s remind you.” She then played elevator surveillance footage of Heard and Franco with the timestamp of May 22, 2016, at about 11 p.m. on their way up to her penthouse.

In the footage, Franco, 44, wears a hat and backpack. At one point he rests his head on Heard’s shoulder, as she appears to place her head on his. They then exit the elevator together.

For more on the Johnny Depp-Amber Heard trial, listen below to our daily podcast PEOPLE Every Day.

Heard confirmed that it was Franco in the video and that they were going to her penthouse. “That’s where I lived, yes,” she said, adding that she is unsure what she knew of Depp’s schedule at the time, when asked if she was aware her husband would be out of town.

The actress filed for divorce from Depp the following day, May 23, 2016. (She and Depp met while making the 2011 filmThe Rum Diary, and later wed in 2015.)

During redirect, Heard explained about Franco, “He was my friend. And he lived next door, quite literally next door. And I, frankly, had exhausted my support network with my usual friends and was happy to welcome as much friendship at that time as I could possibly get.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

In her testimony Heard explained that she was “close” friends with Franco, whom she made two movies with. She also claimed that Depp would often get jealous and accuse her of having affairs with her costars and didn’t want her to continue acting.

Depp, 58, has testified that he thought she and Franco were having an affair.

Heard testified about the “nightmare” of arguments she and Depp would get into over Franco. She said Depp “was mad at me for taking the job with James Franco.He hated, hated James Francoand was already accusing me of kind of secretly having a thing with him in my past, since we had donePineapple Expresstogether.”

In December, Franco did an interview with SiriusXM’sThe Jess Cagle Podcast, in which headdressed the multiple allegationsof sexually inappropriate behavior made against him. He opened up about struggling with sex addiction and said, “I had girlfriends. I could never be faithful to anybody.” He added that he “cheated on everyone before” his girlfriendIsabel Pakzad.

Amber Heard, James Franco, Johnny Depp.Phillip Faraone/Getty; Matt Winkelmeyer/BAFTA LA/Getty; Daniele Venturelli/WireImage

Amber Heard Says James Franco Asked About Face Bruises After Alleged Altercation with Johnny Depp

“I wasn’t, like, really a one-night-stand guy,” he said at the time. “Like, people that I, you know, got together with or dated, I’d see them for a long time, years. It’s just that I couldn’t be present for any of them. And the behavior spun out to a point where it was like I was hurting everybody.”

Back in November 2020, Depplost his highly publicized U.K. libel lawsuit caseagainst British tabloidThe Sunfor calling him a “wife-beater.” The court upheld the outlet’s claims as being “substantially true” and Heard testified to back up the claims. In March 2021, his attempt tooverturn the decision was overruled.

source: people.com