Pharaoh (ˈfɛəroʊ, USalsoˈfeɪ.roʊ; Egyptian: pr ꜥꜣ; Pǝrro; Biblical Hebrew: Parʿō) is the vernacular term often used for the monarchs of ancient Egypt, who ruled from the First Dynasty (3150 BC) until the annexation of Egypt by the Roman Empire in 30 BC. However, regardless of gender, "king" was the term used most frequently by the ancient Egyptians for their monarchs through the middle of the Eighteenth Dynasty during the New Kingdom. The earliest confirmed instances of "pharaoh" used contemporaneously for a ruler were a letter to Akhenaten (reigned 1353–1336 BC) or an inscription possibly referring to Thutmose III (1479–1425 BC).
In the early dynasties, ancient Egyptian kings had as many as three titles: the Horus, the Sedge and Bee (nswt-bjtj), and the Two Ladies or Nebty (nbtj) name. The Golden Horus and the nomen and prenomen titles were added later.
In Egyptian society, religion was central to everyday life. One of the roles of the king was as an intermediary between the deities and the people. The king thus was deputised for the deities in a role that was both as civil and religious administrator. The king owned all of the land in Egypt, enacted laws, collected taxes, and served as commander-in-chief of the military. Religiously, the king officiated over religious ceremonies and chose the sites of new temples. The king was responsible for maintaining Maat (mꜣꜥt), or cosmic order, balance, and justice, and part of this included going to war when necessary to defend the country or attacking others when it was believed that this would contribute to Maat, such as to obtain resources.
During the early days prior to the unification of Upper and Lower Egypt, the Deshret or the "Red Crown", was a representation of the kingdom of Lower Egypt, while the Hedjet, the "White Crown", was worn by the kings of Upper Egypt. After the unification of both kingdoms, the Pschent, the combination of both the red and white crowns became the official crown of the pharaoh.