Today, after extraordinary costs, we are bringing the Iraq war to a responsible end. We will remove our combat brigades from Iraq by the end of next summer, and all of our troops by the end of 2011. That we are doing so is a testament to the character of the men and women in uniform. (Applause.) Thanks to their courage, grit and perseverance, we have given Iraqis a chance to shape their future, and we are successfully leaving Iraq to its people.
But while we've achieved hard-earned milestones in Iraq, the situation in Afghanistan has deteriorated. After escaping across the border into Pakistan in 2001 and 2002, al Qaeda's leadership established a safe haven there. Although a legitimate government was elected by the Afghan people, it's been hampered by corruption, the drug trade, an under-developed economy, and insufficient security forces.
Over the last several years, the Taliban has maintained common cause with al Qaeda, as they both seek an overthrow of the Afghan government. Gradually, the Taliban has begun to control additional swaths of territory in Afghanistan, while engaging in increasingly brazen and devastating attacks of terrorism against the Pakistani people.
Now, throughout this period, our troop levels in Afghanistan remained a fraction of what they were in Iraq. When I took office, we had just over 32,000 Americans serving in Afghanistan, compared to 160,000 in Iraq at the peak of the war. Commanders in Afghanistan repeatedly asked for support to deal with the reemergence of the Taliban, but these reinforcements did not arrive. And that's why, shortly after taking office, I approved a longstanding request for more troops. After consultations with our allies, I then announced a strategy recognizing the fundamental connection between our war effort in Afghanistan and the extremist safe havens in Pakistan. I set a goal that was narrowly defined as disrupting, dismantling, and defeating al Qaeda and its extremist allies, and pledged to better coordinate our military and civilian efforts.
Since then, we've made progress on some important objectives. High-ranking al Qaeda and Taliban leaders have been killed, and we've stepped up the pressure on al Qaeda worldwide. In Pakistan, that nation's army has gone on its largest offensive in years. In Afghanistan, we and our allies prevented the Taliban from stopping a presidential election, and -- although it was marred by fraud -- that election produced a government that is consistent with Afghanistan's laws and constitution.
Yet huge challenges remain. Afghanistan is not lost, but for several years it has moved backwards. There's no imminent threat of the government being overthrown, but the Taliban has gained momentum. Al Qaeda has not reemerged in Afghanistan in the same numbers as before 9/11, but they retain their safe havens along the border. And our forces lack the full support they need to effectively train and partner with Afghan security forces and better secure the population. Our new commander in Afghanistan -- General McChrystal -- has reported that the security situation is more serious than he anticipated. In short: The status quo is not sustainable.