Germany secretly asked Mexico to attack the U.S. if the U.S. entered the war. The U.S. gave up on staying out of foreign conflicts after German submarine warfare in WWI and the attack on Pearl Harbor in WWII, a shift that ultimately made America a dominant world power.