Both Kyrgyzstan and Uzbekistan allowed the United States to set up air bases in 2001 to help anti-terror operations in nearby Afghanistan .