Amun, King of Gods, appeared during the Old Kingdom as a member of the eight cosmic gods of Hermopolis. Early on, Amun was a minor god of the city of Thebes, where he eventually flourished and gained prominence through the political rise of that city.
By the Middle Kingdom, Amun became the one and only supreme deity in Egypt, and the lord of the Karnak Temples. Together with his wife, Mut, and their son, Khonsu, the moon god, the three formed the Theban Triad, a sort of heavenly family for their people. Each year a festival would be held celebrating the marriage of Amun and Mut.