After the September 11 Attacks, the U.K. supported the U.S. in their "War on Terror", and joined them in the War in Afghanistan (2001–present) and the invasion of Iraq. London was attacked in July 2005. The U.K. also took a leading role in the 2011 military intervention in Libya. In a referendum in 2016, the U.K. voted to leave the European Union.