So the chief jailer put Joseph in charge of all the prisoners there and gave him the responsibility for running the prison.