Joseph was the eleventh son of the Patriarch Jacob, born to him of Rachel. Envied by his brothers on account of certain dreams that he had, he was first cast into a pit. Jacob was deceived by his other sons into believing, on the basis of a bloodstained robe, that Joseph had been devoured by a wild beast. Joseph was then sold to some Ishmaelite travellers for thirty pieces of silver. The Ishmaelites in turn sold him to Potiphar, the chief eunuch of Pharaoh, the King of Egypt.