Following the October 2001 American invasion and the Bonn Agreement the new government under the leadership of Hamid Karzai started to re-establish diplomatic relationships with many countries who had held close diplomatic relations before the communist coup d'état and the subsequent civil war.