Actor Leonard Nimoy, best known for the role of Spock on “Star Trek,” died on Friday, according to his family.

Several days before his death, Nimoy — who announced last year that he had chronic obstructive pulmonary disease — shared these words with his million-plus Twitter followers:

The beloved actor almost always ended his tweets with “LLAP,” shorthand for “live long and prosper,” the Vulcan aphorism that became Spock’s — and, thus, Nimoy’s own — catchphrase.

[The Jewish roots of Leonard Nimoy and ‘live long and prosper’]

Fittingly, after the New York Times first reported news of Nimoy’s death, both #LLAP and #livelongandprosper began trending.

[Leonard Nimoy and the lasting dignity of being Spock]

[George Takei, William Shatner mourn the death of ‘Star Trek’ star Leonard Nimoy]

You can see more reactions — along with select Nimoy video clips — here.

Read The Post’s full obituary here.

MORE READING: Leonard Nimoy is dead. But Spock will live on forever.

President Obama on Leonard Nimoy: ‘I loved Spock’

Leonard Nimoy to BU arts students: Be persistent. And ‘don’t create any more reality TV shows.’

The Smithsonian has the Starship Enterprise used on ‘Star Trek’. But it isn’t on display

[This post has been updated.]