The Mesopotamians built the earliest pyramidal structures, called ziggurats. In ancient times, these were brightly painted. Since they were constructed of sun-dried mud-brick, little remains of them. Ziggurats were built by the Sumerians, Babylonians, Elamites, Akkadians, and Assyrians for local religions.
Pyramids in Mexico were often used as places of human sacrifice. For the re-consecration of Great Pyramid of Tenochtitlan in 1487, the Aztecs reported that they sacrificed about 80,400 people over the course of four days