What events led the U.S. to enter the war?