Gregor Mendel discovered some basic rules of heredity. These rules of Mendelian inheritance contradict Lamarck's hypotheses entirely, but are consistent with natural selection. This explains why Lamarck's ideas are no longer regarded as a sound explanation of evolution. Where Lamarck and Darwin do agree is that evolution did take place.