The Proetida survived for millions of years, continued through the Carboniferous period and lasted until the end of the Permian (when the vast majority of species on Earth were wiped out). It is unknown why the order Proetida alone survived the Devonian. The Proetida maintained relatively diverse faunas in both deep and shallow water shelf environments throughout the Carboniferous. For many millions of years the Proetida existed untroubled in their ecological niche. An analogy would be today's crinoids, which mostly exist as deep water species; in the Paleozoic era, vast 'forests' of crinoids lived in shallow near-shore environments.