Originally built in the Jin Dynasty (1115-1234), additions were made to the temple by successive dynasties.