President Karzai thanked his allies for their help in battling terrorism .