The experiment began when Griffith was trying to make a vaccine to prevent pneumonia infections in the "Spanish flu" influenza pandemic after World War I, by using two strains of the "Streptococcus pneumoniae" bacterium.