Conversation so far:
which factor contributed to the entry of united states into world war i
German U-boats started sinking American merchant ships in the North Atlantic. Wilson asked Congress for a war to end all wars that would make the world safe for democracy.
when did entry of the united states into world war 1 happen
Congress voted to declare war on Germany on April 6, 1917. On December 7, 1917, the U.S. declared war on Austria-Hungary.

Question: who was president
Self-contained rewrite: who was president when united states entered world war 1