Chemical and geological evidence indicate that photosynthetic cyanobacteria existed about 2.6 billion years ago and anoxygenic photosynthesis had been taking place since a billion years before that. Oxygenic photosynthesis was the primary source of free oxygen and led to the Great Oxidation Event roughly 2.4 to 2.1 billion years ago during the Neoarchean-Paleoproterozoic boundary. Although the end of the Great Oxidation Event was marked by a significant decrease in gross primary productivity that eclipsed extinction events, the development of aerobic respiration enabled more energetic metabolism of organic molecules, leading to symbiogenesis and the evolution of eukaryotes, and allowing the diversification of complex life on Earth.