These were the first parliamentary elections in Afghanistan in 33 years: after communist rule, civil war and Taliban rule, the U.S. invasion of Afghanistan toppled the Taliban regime and after the presidential elections in 2004, parliamentary elections were organized in 2005. Originally, according to the 2001 Bonn agreement, the elections were to be held in June 2004. However, due to the security situation, Hamid Karzai (then interim President, now President of Afghanistan) moved the elections more than a year to the later date. Security was still an issue, as Taliban and others threatened to disrupt the elections violently. Several candidates were killed before polling.