The hands behind the presidential meat puppet.
The 25th Amendment is a pretty nifty constitutional tool because it answers the question of what would have happened if Jack Kennedy somehow survived Dallas.
The Constitution says: “Section Four: Whenever the Vice President and a majority of either the principal officers of the executive departments or of such other body as Congress may by law provide, transmit to the President pro tempore of the Senate and the Speaker of the House of Representatives their written declaration that the President is unable to discharge the powers and duties of his office, the Vice President shall immediately assume the powers and duties of the office as Acting President.