Xuanzang created a translation center in Chang'an (now Xi'an). It attracted people from all over East Asia. Xuanzang translated 1,330 books into Chinese. His favorite part of Buddhism was Yogācāra, or "Consciousness-only".