From at least the 4th Dynasty of ancient Egypt, the Sun was worshipped as the deity Re (pronounced probably as Riya, meaning simply the sun), and portrayed as a falcon headed god surmounted by the solar disk, and surrounded by a serpent. Re supposedly gave warmth to the living body, symbolised as an ankh: a "T" shaped amulet with a looped upper half. The ankh, it was believed, was surrendered with death, but could be preserved in the corpse with appropriate mummification and funerary rites. The supremacy of Re in the Egyptian pantheon was at its highest with the 5th Dynasty, when open air solar temples became common. In the Middle Kingdom of Egypt, Ra lost some of his preeminence to Osiris, lord of the West, and judge of the dead. In the New Empire period, the Sun became identified with the dung beetle, whose spherical ball of dung was identified with the Sun. In the form of the sun disc Aten, the Sun had a brief resurgence during the Amarna Period when it again became the preeminent, if not only, divinity for the Pharaoh Akhenaton.