In the mid of the 19th century the miasma theory was replaced by the germ theory of diseases (Maia 2013) The Greek physician Hippocrates (c.460- 377 B.C.E) believed that bad air could be the cause of any pestilences, the fatal epidemic.
Hope that helps!