He became director of the natural products department at Sandoz and went on studying hallucinogenic substances found in Mexican mushrooms and other plants used by the indigenous peoples. This led to the synthesis of psilocybin, the active agent of many magic mushrooms.