qnli question: When did immunology start to become codified as a scientific theory? sentence: Many other ancient societies have references to this phenomenon, but it was not until the 19th and 20th centuries before the concept developed into scientific theory.