How were the religion and the government of the Maya connected?

in 4 sentences

The religion and government of the Maya were closely connected, with religious beliefs and practices deeply integrated into the political system. The ruler of the Maya city-states held a significant role as both a political and religious leader. They were considered divine beings, often believed to have direct connections with the gods. Religious rituals, such as offerings and human sacrifices, were carried out to appease the gods and maintain the ruler's legitimacy and the well-being of the state.