They spent a long time in prison, and Potiphar, the official in charge of the palace guard, made Joseph their servant.