Originally built in 1629 as a family temple by the Chinese monk Chaonian, was intended to provide a place of worship for the Chinese immigrants who settled in Nagasaki during the early Edo period in Japan. This temple belongs to the Obaku school of Japanese Zen Buddhism with two of its buildings designated as national treasures of Japan. The Ming dynasty architecture of this temple makes it unique to other Zen temples of Japan. Such a well preserved Ming dynasty structure is considered rare even in China, thus making this temple popular not only among locals, but with foreign travelers as well. Many life size Buddhism statues including Mazu are housed in the main hall of this temple. The Chinese Bon Festival is celebrated at this temple each year, attracting hundreds of Chinese immigrants to participate in this cultural event.