How does the sentence end? See options at the end

Dennis was invited for an interview by Justin for a position at a new office. 

Choose your answer from:
(1). Dennis prepared by researching the candidate..
(2). Justin prepared by researching the candidate..
(2).