Context Word: routine. 
Question: PersonX followed the routine demanded of them by PersonY everyday, because _ was a prisoner. 
Answer: PersonX
PersonX followed the routine demanded of them by PersonY everyday, because _ was a warden.