Nanzenji Temple, whose spacious grounds are located at the base of Kyoto's forested Higashiyama mountains, is one of the most important Zen temples in all of Japan. It is the head temple of one of the schools within the Rinzai sect of Japanese Zen Buddhism and includes multiple subtemples, that make the already large complex of temple buildings even larger.
The history of Nanzenji dates back to the mid 13th century, when the Emperor Kameyama built his retirement villa at the temple's present location and later converted it into a Zen temple. After its founding, Nanzenji grew steadily, but its buildings were all destroyed during the civil wars of the late Muromachi Period (1333-1573). The oldest of the current buildings were built after that period.
Outside the Hojo visitors will come across a rather odd sight: a large brick aqueduct that passes through the temple grounds. Built during the Meiji Period (1868-1912), the aqueduct is part of a canal system that was constructed to carry water and goods between Kyoto and Lake Biwa in neighbouring Shiga Prefecture. Paths run alongside the canal that lead into the surrounding forest.