Huemac (11th century?) was the last king of the Toltec before the fall of Tula/Tollan.
Most information about him is from Aztec accounts centuries later, and details and chronology is often uncertain, and historical stories are mixed with mythology.
After the fall of the Toltec capital Huemac traveled for some years with a diminishing band of followers, and then died in a cave at Chapultepec, now part of modern Mexico City. The date of his death, from various accounts and various attempts to corolate the accounts with the Gregorian calendar, range from the 1090s to the 1170s.