Mendelian inheritance
The second law is only true if the genes are not on the same chromosome. If they are, then they are linked to each other. This was the next great discovery after Mendel: that genes were carried on chromosomes. The closer they were on the chromosomes, the less likely was crossing over between them.