William McKinley actually said...
Feeling as our people feel, and speaking in their name, I at once sent a message to Commodore Dewey thanking him and his officers and men for their splendid achievement and overwhelming victory and informing him that I had appointed him an acting rear-admiral.
Context
Special Message to the Congress on the Conduct of the War in the Philippines
05/08/1898