Actor James Doohan, famous for playing Scotty in the original Star Trek series, has received a star on the Hollywood Walk of Fame.
Doohan is bowing out of public life
The 84-year-old's attendance at the ceremony was expected to be his final public appearance.
He was recently diagnosed with Alzheimer's disease and also suffers from Parkinson's disease and diabetes.
Doohan has spent the past few days meeting fans to say farewell and thanking them for their support.
Star Trek co-stars at the Walk of Fame ceremony included George Takei, who played Sulu, Nichelle Nichols, who was Uhura, and Walter Koenig, who played Chekov.
Takei said: "This is a galactic day in this town full of stars.
"We've gathered from throughout this planet to say congratulations to you, Jimmy.
"We love you and we thank you for your luminous talent. We thank you for the gift you have given us of that unforgettable character, that ingenious and beloved engineer that was able to fix anything."
Koenig added: "This star is a recognition of a man's talent, his endurance and the effect that he's had on people all over the world."
Doohan was surrounded by his Star Trek co-stars
Doohan's family were also there, including his four-year-old daughter Sarah.
A Star Trek convention on Monday saw Doohan team up with his other co-stars from his time in Star Trek, including William Shatner and Leonard Nimoy.
It was announced in July that Doohan had been diagnosed with Alzheimer's, with his son Chris saying his short-term memory had been affected.
Doohan's career spans more than 50 years, but he remains best known for his role as the USS Enterprise's affable chief engineer, Lt Cdr Montgomery "Scotty" Scott.
Doohan also served as a solider in the Canadian military during World War II.