ISAF was initially charged with securing Kabul and surrounding areas from the Taliban , al Qaeda and factional warlords, so as to allow for the establishment of the Afghan Transitional Administration headed by Hamid Karzai .