The commander of the guard assigned Joseph to them as their personal attendant. They were kept in prison for some time.