Fossils of most modern mobile polychaete groups appeared by the end of the Carboniferous, about 299 million years ago.