In November 2001, the Northern Alliance captured Kabul after the Taliban had abandoned it following the American invasion. A month later a new government under President Hamid Karzai began to assemble. In the meantime, a NATO-led International Security Assistance Force (ISAF) was deployed in Afghanistan. The war-torn city began to see some positive development as many expatriate Afghans returned to the country. The city's population grew from about 500,000 in 2001 to over 3 million in recent years. Many foreign embassies re-opened, and the city has been recovering ever since. In 2008 the process started to gradually hand over security responsibilities from NATO to Afghan forces.