Medjay was a demonym used in various ways throughout ancient Egyptian history to refer initially to a nomadic group from Nubia and later as a generic term for desert-ranger police.
Origins
In the archaeological record, a culture known as the Pan-Grave Culture is generally considered by experts to represent the Medjay. This culture is named for its distinctive circular graves, found throughout Lower Nubia and Upper Egypt, which date to the late Middle Kingdom and Second Intermediate Period. The sudden appearance of these graves in the Nile Valley suggests that they represent an immigrant population, while the presence of Nerita shells in many of them suggests their occupants came from the Eastern Desert between the Nile and the Red Sea. Other objects commonly found in these graves include the painted skulls of various horned animals, which are found either arranged in a circle around the burial pit or placed in separate offering pits. The first mention of the Medjay in written records dates back to the Old Kingdom, when they were listed among other Nubian peoples in the Autobiography of Weni, who was at the time a general serving under Pepi I Meryre. During this time the term "Medjay" referred to people from the land of Medja, a district thought to be located just east of the Second Nile Cataract in Nubia. A decree from Pepi I's reign, which lists different officials, illustrates that Medja was at least to some extent subjugated by the Egyptian government. Since the time of Alan Gardiner, a common account has been that the Medjay constituted an ethnic group. More recent work suggests that the term was initially an Egyptian exonym, and that those identified as Medjay may not have considered themselves to have a shared ethnicity, and certainly were not a unified polity. Written accounts from the Middle Kingdom such as the Semna Despatches describe the Medjay as nomadic desert people. Egyptian sources are inconsistent in distinguishing between "Nehesy" people generally and Medjay until the latter portion of the Middle Kingdom. Senwosret III enacted a prohibition on Nehesy movement north of Semna, while the administration began making a distinction between these two categories of people. Liszka hypothesizes that this may have motivated people to take on "Medjay" as an ethnic identity. They also were sometimes employed as soldiers. And during the Second Intermediate Period, they were even used during Kamose's campaign against the Hyksos and became instrumental in making the Egyptian state into a military power.
Police force
By the Eighteenth Dynasty during the New Kingdom, the Medjay were an elite paramilitary police force. No longer did the term refer to an ethnic group, and over time the new meaning became synonymous with policing in general. As an elite force, the Medjay were often used to protect valuable areas, especially areas of pharaonic interest like capital cities, royal cemeteries, and the borders of Egypt. Though they are best known for their protection of the royal palaces and tombs in Thebes and the surrounding areas, the Medjay were used throughout Upper and Lower Egypt. Each regional unit had its own captains. Chiefs of the Medjay are also known from the New Kingdom, but that title is more likely to refer to a person in charge of building and building material procurement. At first, the group just consisted of ethnic Medjay and those descended from that ancient tribal group. This changed over time as more and more Egyptians took up their occupation. Records show that various Medjay chiefs and captains had Egyptian names and were depicted as such. Why this change occurred is not known, but it is assumed that, because of the Medjay's elite status, Egyptians joined them.
Demise
After the 20th Dynasty, the term Medjay is no longer found in Egyptian records. It is unknown whether the Medjay as an occupation had been abolished or the name of the force had changed. However, there is speculation that a group of people called the Meded who fought against the Kush during the 5th and 4th centuries B.C. might have been related to the Medjay.
In media
In the 1932 film The Mummy, the Medjay are mentioned as Pharaoh Seti I's personal bodyguards in ancient Egypt. They are also mentioned in the 1999 remake The Mummy, and the sequel The Mummy Returns. In the 2017 video game Assassin's Creed Origins, the protagonist, Bayek, is considered "the last Medjay", acting as a "sheriff" throughout first century BCE Egypt.
Language
Linguistic evidence indicates that the Medjay spoke an ancient Cushitic language related to the Cushitic Beja language and that the Blemmyes were a subdivision of the Medjay. Rilly mentions historical records of a powerful Cushitic speaking group which controlled Lower Nubia and some cities in Upper Egypt. Rilly states:
The Blemmyes are another Cushitic speaking tribe, or more likely a subdivision of the Medjay/Beja people, which is attested in Napatan and Egyptian texts from the 6th century BC on.
On page 134:
From the end of the 4th century until the 6th century AD, they held parts of Lower Nubia and some cities of Upper Egypt.
He mentions the linguistic relationship between the modern Beja language and the ancient Cushitic Blemmyan language which dominated Lower Nubia and that the Blemmyes can be regarded as a particular tribe of the Medjay:
The Blemmyan language is so close to modern Beja that it is probably nothing else than an early dialect of the same language. In this case, the Blemmyes can be regarded as a particular tribe of the Medjay.