The assassination of Archduke Franz Ferdinand of Austria in Sarajevo on June 28, 1914, was the immediate trigger that set off the July Crisis and activated alliance networks, leading to World War I. The other options are incorrect: Germany attacking France happened during WWII, Pearl Harbor was WWII, and U-boat attacks were during WWI but not a primary cause.