Taliban insurgents attack the United States consulate in Herat, Afghanistan, with two members of the Afghan National Police reported dead and about 20 civilians injured.

The U.S. consulate in Herat, Afghanistan was attacked on September 13, 2013 by a group of Taliban militants. Reports indicated that the assault began at 5:30 am on the front gate of the consulate. A large truck drove up to the consulate's primary vehicle entry point and detonated a massive improvised explosive charge, causing extensive damage. A minivan carrying an assault team armed with assault rifles and rocket-propelled grenades arrived and opened fire, moving into the consulate compound. Then, the driver of the minivan ignited a bomb inside the minivan, which exploded a short time afterwards. Eight Afghan members of the consulate's guard force and one Afghan police officer were killed. An unknown number of bystanders were wounded. A gun battle ensued, and all seven attackers were killed. No Americans were killed or seriously injured. The U.S. Department of State awarded Heroism Awards to several of the consulate's defenders.The Taliban took credit for the attack in an emailed statement.In a press release, the United Nations condemned the attack "in the strongest terms."

The Taliban (; Pashto: طالبان, romanized: ṭālibān, lit. 'students' or 'seekers'), which also refers to itself by the name of its state, the Islamic Emirate of Afghanistan, is a Deobandi-Pashtun Islamic fundamentalist, militant Islamist, and jihadist political movement in Afghanistan. It ruled approximately three-quarters of the country from 1996–2001, before being overthrown following the United States invasion. It regained power in August 2021 after years of insurgency.

The Taliban emerged in 1994 as one of the prominent factions in the Afghan Civil War and largely consisted of students (ṭālib) from the Pashtun areas of eastern and southern Afghanistan who had been educated in traditional Islamic schools (madāris). Under the leadership of Mohammed Omar, the movement spread throughout most of Afghanistan, shifting power away from the Mujahideen warlords. In 1996, the group administered roughly three-quarters of the country, and established the First Islamic Emirate of Afghanistan, with the Afghan capital transferred to Kandahar from Kabul. The Taliban's government was opposed by the Northern Alliance militia, which seized parts of northeast Afghanistan and largely maintained international recognition as a continuation of the interim Islamic State of Afghanistan. The Taliban held control of most of the country until being overthrown after the United States invasion of Afghanistan in December 2001.

After being overthrown, the Taliban launched an insurgency to fight the United States-backed Karzai administration and the NATO-led International Security Assistance Force (ISAF) in the War in Afghanistan. Under Hìbatullah Akhundzada's leadership, in May 2021, the Taliban began a military offensive, in which the group seized control of several areas from the Islamic Republic of Afghanistan. Following the Fall of Kabul on 15 August 2021, the Taliban regained control of Afghanistan and established the Islamic Emirate once again.

During their rule from 1996 to 2001, the Taliban enforced a strict interpretation of Sharia, or Islamic law, and were widely condemned for massacres against Afghan civilians, harsh discrimination against religious and ethnic minorities, denial of UN food supplies to starving civilians, destruction of cultural monuments, banning of females from school and most employment, and prohibition of most music. Following their return to power in 2021, the Afghanistan government budget has lost 80% of its funding, food insecurity is widespread and Taliban leaders have talked of a "softer" enforcement of sharia, and urged the United States and other countries to recognize its regime.