A vending machine hacker who went by the online handle “Kahoot Hacker” and was killed on Sunday in Bengalur, said he was a victim of a ransomware attack, the New York Times reported.

The 25-year-old man, who went to the vending machine kiosks in his village of Kondi, in West Bengal, in June, said on Sunday that he received a ransom note and asked for his computer to be destroyed in a suicide pact.

The man said he had a backup system that would destroy all his data if he was not paid.

He said he paid the ransom and took his computer with him to his village, where he set off for a nearby town, but died in his vehicle.

The newspaper reported that the identity of the man’s accomplice was not known.

He was among more than 400,000 people who have received ransomware attacks this year, according to data from antivirus software provider Sophos.

The group is believed to be responsible for the majority of the attacks.