'Captain of the Guard' in the Bible
And the Midianites sold him into Egypt unto Potiphar, an officer of Pharaoh's, and captain of the guard.
And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him of the hands of the Ishmeelites, which had brought him down thither.
And he put them in ward in the house of the captain of the guard, into the prison, the place where Joseph was bound.
And the captain of the guard charged Joseph with them, and he served them: and they continued a season in ward.
Pharaoh was wroth with his servants, and put me in ward in the captain of the guard's house, both me and the chief baker:
And there was there with us a young man, an Hebrew, servant to the captain of the guard; and we told him, and he interpreted to us our dreams; to each man according to his dream he did interpret.