https://en.wikipedia.org/wiki/Damnatio_memoriae

Damnatio memoriae is a modern Latin phrase meaning “condemnation of memory” or “damnation of memory”, indicating that a person is to be excluded from official accounts, or remembered after death in a way contrary to what that person may have desired. There are and have been many routes to damnatio memoriae including the destruction of depictions, the removal of names from inscriptions and documents, and even large-scale rewritings of history.