The Cretaceous period was the longest period in the Phanerozoic eon, lasting 80 million years from 145 to 66 million years ago (mya). It followed the Jurassic period, and is the latest period of the Mesozoic era. After it came the Cainozoic era.