The ergot fungi whose sclerotia appear as "black grain" in rye and other cereals are implicated in the witch trials of 17th century Norway, where the hallucinations caused by ergotism, with visions of Satan as a black dog or cat, caused people to be accused of witchcraft. People in other cultures such as the Aztecs brewed drinks with ergot, which contains alkaloids based on lysergic acid.[31][32]