The name "Teotihuacan" means "The City of the Gods" or "Birthplace of the Gods" in the Nahuatl language of the Aztex people, reflecting their mythology. According to an Aztec creation myth four great ages preceded the present world and each ended in a catastrophe. Our age is the fifth age and somehow the god Nanahuatl saved this world from destruction and was transformed into the sun. This myth places the creation of this age at the location where Teotihuacan was built.
The Aztecs did not build the city though, taking it over after its somewhat mysterious abandonment around 750 C.E. It appears that the city was sacked and burned, possibly from an internal uprising.
The building of Teotihuacan is also mysterious. The earliest buildings at Teotihuacan date to about 200 B.C.E., and the Pyramid of the Sun was completed by 100 C.E. Teotihuacan has been attributed to the Toltecs, although their civilization flourished years after Teotihuacan. Other civilizations which at least contributed to Teotihuacan are the Olmec and the Tatonac cultures; contemporary Tatonac people actually claiming to have built Teotihuacan.