The first amniotes, referred to as "basal amniotes", resembled small lizards and evolved from the amphibian reptiliomorphs about 312 million years ago, in the Carboniferous geologic period. Their eggs could survive out of the water, allowing amniotes to branch out into drier environments.