How were the Maya and the Aztecs alike?

The Maya and the Aztecs were both Mesoamerican civilizations that developed complex societies and cultures. They both had a strong belief in gods and goddesses, and both had a hierarchical social structure with a ruling class. They both had a written language, and both had a strong tradition of art and architecture. They both practiced human sacrifice, and both had a complex system of mathematics and astronomy.