"Rakyon, Have-naught, a man wise, handsome, and poor, who lived in the land of Shinar. Finding himself unable to suppport himself in Shinar, he resolved to depart for Egypt, where he expected to display his wisdom before the king ... perhaps find grace in the eyes of the king, who would give Rakyon the opportunity of supporting himself and rising to be a great man." From initial misfortune and bad treatment, Rakyon devised a dubious business enterprise of charging for the burial of the dead, whereby he earned great wealth and power and the favour of the king and was appointed to be a judge.
"Throught he power thus conferred upon him and through cunning practices, he succeeded in usurping royal authority. ... Nevertheless he was beloved of the people, and it was decreed that every ruler of Egypt should thenceforth bear the name Pharoah."
This first Pharoah was the one who fell in love with.Sarah, Abraham's wife, and amongst his gifts to Sarah was "his own daughter Hagar as slave." He also gave to Sarah the land of Goshen.