The earliest known fungal fossils date back to the Proterozoic era, with most fungi in the Paleozoic era being aquatic and similar to modern chytrids. Fungi colonized land before plants in the Cambrian period, and the fungal kingdom grew substantially in the Devonian era, with all modern fungal classes present by the end of the Carboniferous period.