Still, they may have spent brief periods out of water and would have used their legs to paw their way through the mud. The earliest confirmed terrestrial forms are known from the early Carboniferous deposits, some 20 million years later.