Someone told John that the professor wanted to see him, so John went to see him.
Is the sentence above correct?
Thank you