What event triggered U.S. military action in Afghanistan and Iraq?

1.attack on Pearl Harbor
2.attack on the U.S.S. Cole
3.attack on the United Nations
4.attack on the World Trade Center

4. attack on the World Trade Center