The advisor told the President that he was resigning.

Who is he referring to?
The advisor