During which Chinese dynasty were the terra-cotta warriors created to protect Emperor Shi Huangdi in the afterlife? Han Qin Shang They were created during the Heian period in Japan.