==Monotheistic revolution==
The earliest Egyptian gods were nature gods. Such gods were typically associated with a particular city or other locality. With the rise of the pharaonic state, these gods were organized into a pantheon headed by a chief god, analogous to the structure of the royal court. Thutmose III (r. 1479-1425 B.C.) invaded Palestine, Syria, and Iraq. These wars had exposed Egyptians, particularly those who had served in the army, to a variety of practices and views concerning religion. Each nation, it was learned, had its own gods. But the Sun was everywhere. Faced with the overmighty Amun cult, a succession of pharaohs promoted Atenism. Thutmosis IV (r. 1400-1390) proclaimed Aten the protector of the army. Instead of waiting for death, Amenhotep III (r. 1390-1352), Akhenaten's father, impatiently proclaimed himself a god while he was still alive. The powers of a universal god transcended national boundaries, just as pharaoh's authority now stretched across nations. "In the ancient East, monotheism was but imperialism in religion," wrote American Egyptologist James Breasted.<ref name=breasted>Breasted, James, "[http://gluedideas.com/Encyclopedia-Britannica-Volume-12-Part-1-Hydrozoa-Jeremy/Ikhnaton.html Ikhnaton]", ''Encyclopedia Britannica'' (1929).</ref>
Akhenaten's reforms were also an attempt to return to the past. In the Old Kingdom, Re, the god of the noonday Sun, and Horus, a falcon god, were the dominant cults. They did not respond to the prayers of commoners, but only to the pharaoh, which was divine and his power absolute. Commoners had no future in the afterworld. They volunteered to build pyramids so that pharaoh could have an afterlife and continue to watch over them after he died. In the New Kingdom, religion was more democratic. The afterlife rites earlier practiced only by pharaohs became widespread. Egyptians developed relationships with the gods through a variety of cults and temples.