Nyushin-in Temple is a Buddhist temple that is a sub temple of the nearby Chion-in Temple, which is in Higashiyama Ward Kyoto.
Shoushukuin Temple is a Buddhist temple from the same sect as they nearby Chion-in Temple. Shoushukuin Temple also contains the Matsukaze Tenmangu Shrine. When Chion-in Temple was destroyed by a fire in 1633, Ouyoreigan, the monk in charge, asked Shogun Tokugawa Iemitsu for funding for its reconstruction, and it was granted. Ouyoreigan prayed for Tenjin (Japanese God) for its success. As it was successfully reconstructed, Ouyoreigan enshrined Tenjin here. This is how Matsukaze Tenmangu Shrine came to be established within Shoushukuin Temple. Shoushukuin Temple is in Higashiyama Ward Kyoto.