When was the Mayan Calendar Created?

The Mayan calendar was established in 3372 BC. It is a very complex calendar system and predicts the end of the word to happen in 2012.