During the 1990s Qatar agreed to permit U.S. military forces to place equipment in several sites throughout the country and granted them use of Qatari airstrips during U.S. operations in Afghanistan in 2001. These agreements were formalized in late 2002, and Qatar became the headquarters for American and allied military operations in Iraq the following year.