Pauly Shore said goodbye to his friend Louie Anderson in person.
Hours before news of Anderson's death was made public on Friday, Shore had tweeted about how he got to see comedian, 68, at a Las Vegas hospital.
Shore, 53, shared their final exchange on Twitter Thursday evening.
"Attention comedians and @theComedyStore alumni's I say this with a heavy heart just left the hospital in Las Vegas where Louie Anderson his sisters and close friend were kind enough to let me say my goodbyes he's still with us but keep him in your prayers," Shore wrote.
Richard Harbaugh via Getty Images; Matthew Eisman/Getty Images
The actor also responded to one fan who asked to "please let [Louie] know that we love him."
"I did," Shore wrote.
Attention comedians and @TheComedyStore alumni’s I say this with a heavy heart just left the hospital in Las Vegas where Louie Anderson his sisters and close friend were kind enough to let me say my goodbyes he’s still with us but keep him in your prayers
— Pauly Shore (@PaulyShore) January 20, 2022
Jeff Kravitz/FilmMagic, Inc
Anderson's publicist, Glenn Schwartz, confirmed to PEOPLE that the comedian died on Friday. Anderson was undergoing treatments after he was diagnosed with diffuse large B-cell lymphoma, the most common type of non-Hodgkin lymphoma.
Schwartz said Anderson's "cause of death was complications from cancer."
News that Anderson was hospitalized for treatment was shared by Schwartz on Tuesday. "Iconic comedian Louie Anderson is currently in a Las Vegas hospital being treated for diffuse large B cell lymphoma, a form of cancer," Glenn Schwartz, told Rolling Stone. "He is resting comfortably."
Anderson was previously named "One of 100 Greatest Stand-Up Comedians of All Time" by Comedy Central. He appeared in a list of television shows, including Life with Louie, The Louie Show and more recently HBO's Search Party. Anderson was also in Coming to America 2, for which he reprised his role of Maurice.