How did America affect the end of World War 1?

America caused the war to end sooner and in favor of the Allied Forces.