Khepri, in ancient Egyptian religion and mythology, the god of the morning sun, representing its transformational power. Khepri was depicted in the form of a scarab beetle, specifically the Egyptian dung beetle (Scarabaeus sacer), or in the form of a human with the head of a scarab beetle. As the morning sun, he was considered an aspect of the sun god Ra. The ancient Egyptians observed dung beetles rolling balls of dung along the ground and witnessed new beetles emerging from such dung balls in underground chambers weeks later. Ra, as Khepri, rolled the sun across the sky just as the dung beetle rolls its ball across the ground. The Egyptians also believed that Khepri symbolized the resurrection of the body and understood it to be something similar to the way in which the new scarab beetles emerge from inert matter. Indeed, the dead Osiris underwent such a metamorphosis in the darkness of the underworld (Duat). The beetle itself was thought to be an incarnation of the god Khepri, and thus amulets and charms in the shape of the scarab were believed to draw the god’s power and protection and secure the rebirth of the wearer/owner. Such amulets were often buried with the mummified corpse to ensure rebirth and safe passage through the underworld.