Hayden Panettiere shared a joyful Instagram post with a friend just three weeks before her death.

“Good times and good friends,” the 36-year-old actor captioned a black-and-white photo of her smiling alongside her friend Randall Slavin. Slavin told TMZ on Monday the photo was taken about 15 years ago at a party and that the two had not seen each other in some time before her death.

The “Remember the Titans” star died in South Carolina on Sunday, just days before her birthday. She would have turned 37 on Friday.

Her father, Alan “Skip” Panettiere, released a statement to ABC News mourning his daughter’s “tragic passing.”

“She was an incredible light and a force of nature who brought immeasurable love and joy to all who knew her — and to the millions who watched her onscreen,” he said.

After Panettiere’s death was announced, Slavin reposted the photo on his Instagram story and wrote, “Peace be with you, H.”

Panettiere has been open in recent years about her struggles with drug and alcohol addiction, as well as postpartum depression.

The actor, who first started appearing on screen when she was just a baby, said a member of her team starting giving her “happy pills” when she was 15.

“They were to make me peppy during interviews,” Panettiere told People magazine in 2022. “I had no idea that this was not an appropriate thing, or what door that would open for me when it came to my addiction.”

The “Nashville” star also wrote about going to rehab for eight months in 2020 in her recently released memoir, “This Is Me: A Reckoning.” A doctor at the facility told her she’d be “be dead within five years” if she didn’t stop drinking.

While promoting her memoir, Panettiere said that she was optimistic about the future.

“I finally feel like I have shaken off all of this darkness and this negativity,” she said.

“I can feel all the exciting possibilities. I feel like I have a lot more life to live,” she said on Jay Shetty’s “On Purpose” podcast in May.

HuffPost has reached out to representatives for Panettiere, as well as the Greenville Police Department.

By entering your email and clicking Sign Up, you're agreeing to let us send you customized marketing messages about us and our advertising partners. You are also agreeing to our Terms of Service and Privacy Policy.