A former senior NASA official died in the process of performing a dangerous sexual act upon himself, police in Thailand said.

Paul Milford Muller, who worked at NASA's Jet Propulsion Laboratory for 10 years as a senior member of the Apollo navigation team, was found dead inside a house in Tak province with a rope tied around his genitals, waist, and neck.

He is believed to have died of asphyxiation, though doctors have yet to rule out a possible heart attack as a result of a drug overdose.

Crystal meth pills and paraphernalia were also found in the room along with "several sex toys."

Muller had apparently been dead for three days when his body was discovered.

The 76-year-old had been living in Thailand, and recently joined Twitter to promote his latest book, a "romantic and erotic thriller" called Suicide Inc.

[H/T: HyperVocal, images via Paul Muller]