Jeffrey Epstein, the financier arrested in July on charges of sex trafficking of underage girls, died by suicide in a Manhattan jail on August 10.

Epstein hobnobbed with world leaders and elite executives throughout his life, even after he registered as a sex offender as part of a guilty plea in 2008. He's been connected to everyone from Prince Andrew to L Brands CEO Les Wexner to several tech moguls, including Elon Musk and Bill Gates.

Read more: Jeffrey Epstein was meeting with Silicon Valley reporters before his arrest, 'rambling' about all the people he knew in tech

The New York Times columnist James B. Stewart published an article on August 12 about an August 2018 interview he said he had with Epstein. Stewart included Epstein's thoughts on Silicon Valley and its tech elite.

"Mr. Epstein then meandered into a discussion of other prominent names in technology circles," Stewart wrote. "He said people in Silicon Valley had a reputation for being geeky workaholics, but that was far from the truth: They were hedonistic and regular users of recreational drugs. He said he'd witnessed prominent tech figures taking drugs and arranging for sex."

Here are some of the tech moguls who have been connected to Epstein.