Genesis 39:22

22 He put Joseph in charge of all the other prisoners and made him responsible for everything that was done in the prison.