EC Comics started out as Educational Comics and was founded by Max Gaines. However upon Max's death, his son, William Gaines, took over and renamed it Entertaining Comics. While publishing a variety of comics, the most well-known were his horror comics: Tales from the Crypt, The Vault of Horror and The Haunt of Fear. These comics had gruesome and ironic tales told by horror hosts. Mad became popular around the same time. Due to the backlash against comic books at the time period, the comic code authority was formed. However, its rules killed off the 3 horror comics. Bill would later clash with the code several times. One notable incident involved a story called "Judgement Day", in which an astronaut doesn't want a robot-populated planet to join the Galactic Republic, because the robots' practice of segregation. The code wouldn't approve this because the main character was black. But, Bill still ran the story. Later, the company would focus solely on Mad, even when it's editor quit due to him not getting enough control of the creative process. Later, Bill made money off of licensing his famous horror comics.