The ancient Egyptians worshipped many gods and goddesses. These included Ra, the sun god; Isis, the goddess of nature and magic; Horus, the god of war; and Osiris, the god of the dead. The pantheon of gods and goddesses gradually changed over time, as new gods became more important, and some less so. The rise and fall of gods and goddesses seems to have mirrored the political fortunes of the different temples and priesthoods. For example, when the rulers of Thebes became kings of all Egypt, and founded the New Kingdom, its local god Amun became the chief god, and was united with Ra to become Amun-Ra