The first fossils of modern cockroaches with internal ovipositors appeared in the early Cretaceous. A recent phylogenetic analysis suggests that cockroaches originated at least in the Jurassic.[13] Common Mesozoic stem-group cockroaches include the Blattulidae and Mesoblattinidae.