The energy of the ancient dynasties