The man was infected with an amoeba that attacks the brain and died from encephalitis caused by the parasite.