On July 2. 1921 ; World War I: U.S. President Warren G. Harding signs the Knox–Porter Resolution formally ending the war between the United States and Imperial Germany.