How a fungus with some unusual side effects may have played a role in several major events throughout history.