Here is the story as the shrine tells it. Shrine tradition holds that the founding came in the year four hundred fifty-eight, when the deity Amenotajikarao no Mikoto was enshrined here by imperial command. Then, in thirteen fifty-five, local people who revered Sugawara no Michizane invited him to be worshipped here as well. That is how the man known as the god of learning acquired a home on this small hill in Edo, the city that became Tokyo. In fourteen seventy-eight, Ōta Dōkan, the warrior associated with the early layout of Edo Castle, rebuilt the shrine. A legend clings to that rebuilding. The Edo Meisho Zue, a nineteenth-century guide to the city's famous places, records that Dōkan met Michizane in a dream, and that soon afterwards a man arrived carrying a portrait said to be in Michizane's own hand; struck by its resemblance to the face he had seen in the dream, Dōkan built a hall for it. Take that as legend, but notice what it tells you: this shrine had already worked its way deep into the city's imagination. Then came the Tokugawa. When Tokugawa Ieyasu entered Edo Castle in fifteen ninety, he held this shrine in particular reverence, and in fifteen ninety-one he donated five koku of land in Yushima village to fund its rites. Until the Meiji separation of Shinto and Buddhism, the great temple Kan'ei-ji in Ueno served as the shrine's bettō, or administrative temple, with the nearby Kiken-in handling practical affairs. The shrine was called Yushima Shrine for a long stretch of modern history, and changed its name to Yushima Tenmangū in the year two thousand; in two thousand one it was designated a Beppyo shrine by Jinja Honchō, the association of Shinto shrines. Its annual festival falls on the twenty-fifth of May.