The gate that is in front of the temple right now is not the same one that used to be used. The first gate was created in 941 (during the Heian period) and was burned down in a fire in 1865. After Konosuke Matsushita gave money for it to be built again, a new gate was built in 1960.