Stromatolites, stubby pillars built by colonies of cyanobacteria and other microorganisms, are the first fossils. Their record starts about 3.5 billion years ago, and they were very common from about 2700 mya. They declined steeply after about 1250 mya, and this decline was probably caused by grazing and burrowing animals.