Updated

Jim Carrey was given permission by a Los Angeles court on Tuesday to use his ex-girlfriend’s medical records during the wrongful death trial regarding her suicide.

Carrey’s former girlfriend, Cathriona White, 30, died in Sept. 2015 from an overdose of prescription drugs, according to The Telegraph. White’s family accused the “Mask” actor of utilizing his “wealth, influence and celebrity status” to supply her with the drugs.

Carrey’s defense argued that White, an Irish make-up artist, was prescribed pain killers after undergoing breast augmentation.

"One of the issues is her prescription medication,” Raymond Boucher, Carrey’s lawyer said. “We know she had breast surgery that month, we know she had oxycodone prescribed to her that month."

TAYLOR SWIFT TRIAL: EX-DJ TESTIFYING IN GROPING CASE

White’s family tried to block the medical records from being used citing privacy but Judge Deirdre Hill ruled they may be utilized.

The medical records may also prove if White had any sexually transmitted diseases. In 2013, White’s family claimed the “Bruce Almighty” actor gave their daughter herpes type 1 and 2. White reportedly tested positive for the disease but took the test under a false name, Jose Lopez.

Carrey has denied that he gave White a sexually transmitted disease.

"We want to be able to establish that Mr. Carrey absolutely did not transmit any herpes and he did not give her his pain medication and she could access her own," Boucher said.

The couple split in March 2013 after an argument. Carrey sent White a text message stating: “You have become too much drama.”

LAUREN DAIGLE, WAYNE HAUN TOP DOVE AWARDS NOMINATIONS

White wrote a letter that was used in the hearing that said Carrey “disrespected” and “degraded” her and called her a “whore” and “opportunist.”

The letter was not dated and it is not known when it was written.

After the trial, both sides announced a victory.

"We are pleased because now the same standard will apply to Mr. Carrey. He should be very nervous," Michael Avenatti, the lawyer for the White family, said.

Carrey will undergo a 20-day jury trial in April 2018. Carrey served as a pallbearer at White’s funeral in Tipperary, Ireland.