Here's what happened to Dr. Leonard "Bones" McCoy after Starship Enterprise. From 1966 until 1991, the late DeForrest Kelley portrayed the gruff but loveable Dr. McCoy, whom Captain James T. Kirk (William Shatner) affectionately referred to as "Bones". However, McCoy's remarkable Starfleet career lasted well into the 24th century, long after Kirk and his original crew embarked on their final mission together in Star Trek VI: The Undiscovered Country.

For 27 years, Dr. McCoy served as the Chief Medical Officer aboard the U.S.S. Enterprise and Enterprise-A. Bones was a key player in Kirk's original five-year mission, forming a triumvirate with his best friends Captain Kirk and Star Trek III: The Search For Spock. In Star Trek VI, Bones and Kirk were wrongly convinced of the assassination of Klingon High Chancellor Gorkon (David Warner) and were imprisoned on the penal planet Rura Penthe. After Spock liberated them, Bones helped the Enterprise crew uncover a conspiracy and successfully fostered peace with the Klingons.

Related: Star Trek: What Happened To Kirk After TOS & Movies

Surprisingly, Bones remained in Starfleet after his service aboard the Enterprise was over, although McCoy didn't Captain Kirk on the maiden voyage of the U.S.S. Enterprise-B when Kirk was presumed killed by the Nexus in 2293. However, an elderly McCoy made a cameo in "Encounter at Farpoint", the pilot episode of Jean-Luc Picard (Patrick Stewart) arrived at Farpoint Station, iral McCoy was accompanied off the ship by Lt. Commander Data (Brent Spiner). Bones was aboard inspecting the medical facilities of the new Galaxy-class starship and when Data correctly stated that the iral was 137 years old, McCoy checked to see if the android had pointy ears like a certain Vulcan he once knew.

DeForrest Kelley's Bones was the first of five Star Trek TOS characters to meet the crew of Star Trek: The Next Generation; Sarek (Mark Lenard)), Spock (Leonard Nimoy), and Scotty (James Doohan) would all appear on the series while Kirk met Picard (and died) in the Star Trek Generations movie. While "Encounter at Farpoint" was the lone appearance by McCoy in the 24th-century era, the legendary Doctor would be mentioned in the other Star Trek series.

In the Star Trek: Voyager season 2 episode "Lifesigns", The Doctor (Robert Picardo) mentioned that in 2253, Dr. McCoy created a surgical procedure for the humanoid brain that involved grafting neural tissue to the cerebral cortex, which notes how much Bones has positively impacted medicine in the 24th century. McCoy's templates are part of the design of the Emergency Medical Holographic doctors used aboard 24th-century Starfleet ships, which includes Bones' favorite catchphrase, "I'm a doctor, not a ____!"

Star Trek: Picard.

Next: Star Trek: What Happened To Spock After TOS & Movies