When Val Kilmer was diagnosed with throat cancer in 2015, it was Cher who stood by his side.

The 60-year-old opened up about his health battle in a new memoir, titled “I’m Your Huckleberry,” which is scheduled to be released on April 21.

In the book, the actor opened up about how the singer, whom he dated in the 1980s, shined a light during his darkest days.

According to Kilmer, the 73-year-old invited him to stay in her guest house while his health was declining.

“One night, I suddenly awoke vomiting blood that covered the bed like a scene out of ‘The Godfather,’” Kilmer wrote, as reported by People magazine on Wednesday.

'BIGGEST LOSER' HOST BOB HARPER SHARES THE ONE WORKOUT HE'S EAGER TO TRY DURING QUARANTINE

Cher and Val Kilmer dated in the '80s. (Photo by Barry King/WireImage/Getty)

LEE GREENWOOD REFLECTS ON ‘GOD BLESS THE U.S.A.’ SUCCESS, LASTING MARRIAGE OF 27 YEARS

“I prayed immediately, then called 911,” he continued. “Then alerted my hostess. Cher stepped in and stepped up.”

Kilmer added the music icon managed to make him laugh.

“And yet even in my grave condition, I saw her scanning the paramedic, who was Gregory Peck drop-dead handsome,” shared the star. “Only in Hollywood, right? Despite the fact that I was covered in blood, I caught her eye and bounced my brows like Groucho Marx. Hubba hubba. Cher was bashful to be busted but then couldn’t help laughing out loud at the audacity.

“Here we were, joking about beauty and desire, while I looked like a stunt man from Tarantino’s ‘Reservoir Dogs’ and, yes, while my life seemed to be in mortal danger,” added Kilmer. “We laughed out loud before they finished with my vitals and shut me up with an oxygen mask.”

According to the outlet, Kilmer underwent a tracheotomy, chemotherapy and radiation. In addition, he turned to his Christian Science faith and prayed for healing.

TCM HOST ALICIA MALONE REVEALS 6 COMFORTING OLD HOLLYWOOD FILMS TO WATCH DURING CORONAVIRUS PANDEMIC

Actor Val Kilmer visits the United Nations headquarters in New York City, New York to promote the 17 Sustainable Development Goals (SDGs) initiative, July 20, 2019. (Photo by EuropaNewswire/Gado/Getty Images)

JOHN TESH RECALLS HOW HE WAS 'READY TO TAKE’ HIMSELF ‘OUT’ WHILE BATTLING CANCER: 'I WAS ANGRY AT GOD'

Today, Kilmer is cancer-free.

“I have been healed of cancer for over four years now, and there has never been any reoccurrence,” said Kilmer. “I am so grateful.”

Kilmer’s speech has been impacted by cancer. However, he’s keeping busy by doing voice exercises every day. In addition, he’s been touring with his one-man show about Mark Twain and this summer he will reprise his role in the “Top Gun” sequel “Maverick.” The film is slated to open in theaters on June 24.

“The fact that my impeded speech could spell the end of my career only served to motivate me,” wrote Kilmer.