John McAfee, the creator of the McAfee antivirus software, has been found dead in his cell in a jail near Barcelona, a government official told The Associated Press on Wednesday.
Hours earlier, a Spanish court issued a preliminary ruling in favour of the 75-year-old tycoon's extradition to the United States to face tax-related criminal charges.
Security personnel at the Brians 2 penitentiary near the northeastern Spanish city tried to revive him, but the jail's medical team finally certified his death, a statement from the regional Catalan government said.
The statement didn't identify McAfee by name, but said he was a 75-year-old US citizen awaiting extradition to his country. A Catalan government source familiar with the event who was not authorised to be named in media reports confirmed to the AP that the dead man was McAfee.