The nine-tailed fox occurs in the Shanhaijing (Classic of Mountains and Seas), compiled from the Warring States period to the Western Han period (circa 4th to circa 1st century BC).[5] The work states: