The Heian scholar Sugawara no Michizane rose by sheer learning to Minister of the Right, but in 901 a Fujiwara plot exiled him to Dazaifu, where he died in despair in 903. He left a famous poem to his plum tree. After his death, lightning, plague, and the early death of his rival struck the capital — feared as his ‘curse.’ To appease him he was enshrined as Tenjin, and being a great scholar, became the god of learning worshipped at Tenmangu shrines nationwide.