In the Song Dynasty (960–1279), the Chan (Zen) sect developed a new 'seven part structure' for temples. The seven parts—the Buddha hall, dharma hall, monks' quarters, depository, gate, pure land hall and toilet facilities—completely exclude pagodas, and can be seen to represent the final triumph of the traditional Chinese palace/courtyard system over the original central-pagoda tradition established 1000 years earlier by the White Horse Temple in 67. Although they were built outside of the main temple itself, large pagodas in the tradition of the past were still built. This includes the two Ming Dynasty pagodas of Famen Temple and the Chongwen Pagoda in Jingyang of Shaanxi Province.