On The Origin of Species by Charles Darwin Chapter 14 Page 81

ordinary metamorphosis has been greatly strengthened by Wagner’s discovery of the larva or maggot of a fly, namely the Cecidomyia, producing asexually other larvae, and these others, which finally are developed into mature males and females, propagating their kind in the ordinary manner by eggs.

It may be worth notice that when Wagner’s remarkable discovery was first announced, I was asked how was it possible to account for the larvae of this fly having acquired the power of a sexual reproduction. As long as the case remained unique no answer could be given. But already Grimm has shown that another fly, a Chironomus, reproduces itself in nearly the same manner, and he believes that this occurs frequently in the order. It is the pupa, and not the larva, of the Chironomus which has this power; and Grimm further