Context Word: criminal. 
Question: PersonX successfully found and caught the criminal in the act while PersonY tried to escape because _ was a police officer. 
Answer: PersonX
PersonX successfully found and caught the criminal in the act while PersonY tried to escape because _ was a bad guy.