What was the Mayan 2012 prophecy about?

The Mayan 2012 prophecy was an eschatological belief that the world would end on the 21st December 2012. The date was regarded as the end of the thirteenth b'ak'tun in the Mayan calendar.