The Mayans created a detailed writing system to keep track of political rulers.
To them, their rulers were almost gods, so it was very important to keep track of their years of rule, and their whole dynasties, and every other important political people.