Mescaline or 3,4,5-trimethoxyphenethylamine is a naturally occurring psychedelic alkaloid of the phenethylamine class, known for its mind-altering effects similar to those of LSD and psilocybin. It occurs naturally in the peyote cactus (Lophophora williamsii), the San Pedro cactus (Echinopsis Pachanoi) and in the Peruvian torch (Echinopsis Peruviana), and as well in a number of other members of the Cactaceae plant family. It is also found in small amounts in certain members of the Fabaceae (bean) family, including Acacia berlandieri. Mescaline was first isolated and identified in 1897 by the German Arthur Heffter and first synthesized in 1919 by Ernst Spth. Peyote has been used for over 3000 years by Native Americans in Mexico. Europeans noted use of peyote in Native American religious ceremonies upon early contact, notably by the Huichols in Mexico. Other mescaline-containing cacti such as the San Pedro have a long history of use in South America, from Peru to Ecuador.