Actress Shelley Duvall, famous for her role in “The Shining,” has died at 75.

She passed away in her sleep at her Blanco, Texas, home on Thursday due to “complications from diabetes,” her partner, Dan Gilroy, told The Hollywood Reporter.

Duvall and Gilroy have been together since 1986.

“My dear, sweet, wonderful life partner and friend left us. Too much suffering lately, now she’s free. Fly away, beautiful Shelley,” Gilroy told the outlet.

The Texas native was discovered by director Robert Altman in the early ’70s. She starred in his films “McCabe & Mrs. Miller,” “Thieves Like Us” and “Nashville.”

Shelley Duvall is shown on Oct. 27, 1983, in Los Angeles. (AP Photo/Doug Pizac, File)

Duvall played characters that were eccentric, different and complicated, which was somewhat rare for the era.

Her performances earned her a Peabody and Cannes Film Festival award.

In 1977 she was a supporting role in Woody Allen’s romantic comedy “Annie Hall.” Duvall famously starred alongside Jack Nicholson in the 1980 Stanley Kubrick thriller, “The Shining.”

That same year, she played Olive Oyl to Robin Williams’ Popeye in the live-action movie about the famous comic character.

In 1988 and 1992 she was nominated for two Primetime Emmys for her work on “Tall Tales & Legends” and “Shelley Duvall’s Bedtime Stories.” She served as executive producer of the two series.

Duvall, the oldest of four, was born in Fort Worth, Texas, on July 7, 1949. Her father, Robert, worked in law and her mother, Bobbie, in real estate.

She moved back to the Lone Star State in the mid-’90s and left Hollywood after making the comedy “Manna from Heaven.”

In 2016 she appeared on the daytime talk show “Dr. Phil” where she revealed that she suffered from a mental illness.

“I’m very sick. I need help,” Duvall said.

However, the episode received major backlash from viewers who called it exploitative.

“I found out the kind of person he is the hard way,” Duvall told The Hollywood Reporter in 2021.

In 2020, she attempted to restart her career by starring in the indie horror film “The Forest Hills.” The movie premiered in 2023.

She told People magazine in 2022: “Acting again — it’s so much fun. It enriches your life. [Jessica Tandy] won an Oscar when she was 80. I can still win,” she said as she winked and laughed.