Dictionary.com provides a definition of "anachronism."
"Anachronism," Dictionary.com, 2016, accessed January 20, 2023
noun
something or someone that is not in its correct historical or chronological time, especially a thing or person that belongs to an earlier time: The sword is an anachronism in modern warfare.
an error in chronology in which a person, object, event, etc., is assigned a date or period other than the correct one: To assign Michelangelo to the 14th century is an anachronism.