Opposition to Lamarck's theories became stronger when Mendel's genetics was rediscovered, but there were always common-sense doubts. Particular criticism came from Alfred Russel Wallace and August Weismann later in the 19th century. Here is an example: