Overview
Nitocris possibly was the last queen of the Sixth Dynasty of Ancient Egypt. Her name is found in writings long considered as relatively accurate resources: a major chronological documentation of the reigns of the kings of ancient Egypt that was composed in the third-century BC by Manetho, an Ancient Egyptian priest and by the ancient Greek historian, Herodotus, in his Histories (430 BC). She is thought to be the daughter of Pepi II and Neith and to be the sister of Merenre Nemtyemsaf II.
Her historicity has been questioned by some with speculation that, if she was a historical ruler, she may have been a regent. Another view, by the Egyptologist Kim Ryholt, argues that Nitocris is legendary and derives from the historical king Neitiqerty Siptah who succeeded Nitocris's brother, Merenre Nemtyemsaf II, at the transition between the Old Kingdom and First Intermediate Period.
Manetho claimed she built the "third pyramid" at Giza. Modern historians and archaeologists attribute that pyramid to a king of the Fourth Dynasty, Menkaure.
Greek tradition
According to Herodotus (Histories ii-100), Nitocris invited the murderers of her brother, the "king of Egypt", to a banquet, then killed them by flooding the sealed room with the waters of the Nile.
... [Nitocris] succeeded her brother. He had been the king of Egypt, and he had been put to death by his subjects, who then placed her upon the throne. Determined to avenge his death, she devised a cunning scheme by which she destroyed a vast number of Egyptians. She constructed a spacious underground chamber and, on pretense of inaugurating it, threw a banquet, inviting all those whom she knew to have been responsible for the murder of her brother. Suddenly as they were feasting, she let the river in upon them by means of a large, secret duct. (Herodotus)
From Wikipedia (CC BY-SA 4.0).