How do worms get into chestnuts?

The so-called worms often found in chestnuts are the larvae of the chestnut, weevil, a yellowish beetle with a long beak or snout. During the blooming season, usually in June or July, the female beetle bores through the burr of the chestnut and deposits her small white eggs in the immature nut. When hatched the larvae feed on the tissue of the growing kernels. After the nuts have natured the grublike worms gnaw through the shell and burrow into the ground where they remain for eight or ten months. They finally emerge from the ground as mature beetles and the life cycle starts over again. Several eggs may be laid in the same nut, which accounts for the fact that frequently a worm is found in a nut having a hole in it.