Engakuji, founded in 1282, became the second most important in the group of monasteries called the Gozan ( Five Mountains ), a hierarchy established in the 14th century for the Zen temples under the official patronage of the shogunate.
The second most important monastery was founded for the shogunate.