When was the Comics Code Authority introduced?

The comic book industry began to regulate itself with the Comics Code Authority in 1954.

Among other rules, it required that “Policemen, judges, government officials and respected institutions shall never be presented in such a way as to create disrespect for established authority,”

and “In every instance good shall triumph over evil and the criminal punished for his misdeeds.”