A potted history ...............
Find out more on the Afghan conflict 2001-2021
In the shadow of Mazar-e-Sharif's intricately tiled Blue Mosque, men and women strolled around last week in a visibly more relaxed social atmosphere.
image captionResidents the BBC spoke to in nearby Mazar-i-Sharif were fearful of the Taliban resurgence
The government are still in control in the city and almost everyone I spoke to expressed concern about what the Taliban's resurgence will mean, particularly for the "freedoms" younger generations have grown up with.
But back in Balkh district the Taliban are formalising their own rival government. They've taken over all the official buildings in the town, bar one large, now abandoned police compound.
It used to be the headquarters of a bitter rival, the local police chief, and was partly destroyed in a suicide bombing by the militants as they fought for control of the area.
The face of the Taliban's district governor, Abdullah Manzoor, lights up with a broad grin when he talks about the operation, whilst his men chuckle. The fight here, as in so many places in Afghanistan, is deeply personal as well as ideological.
Some things haven't changed since the Taliban takeover; orange-clad street cleaners are still reporting for work, as are some bureaucrats. They're overseen by a newly appointed Taliban mayor, seated at a broad wooden desk, with a small white flag of the "Islamic Emirate of Afghanistan" positioned in one corner.
image captionThe Taliban mayor in Balkh says business rates have gone down since the group took over the area
He used to be in charge of ammunition supplies, now it's taxes - and he tells me proudly the group charges business owners less than the government used to.
The transition from military to civilian life is a work in progress, though. A Taliban fighter still grasping his gun, who moves to pose behind the mayor during our interview, is ushered away by more senior figures.
In other places, however, the insurgents' hardline interpretation of Islamic scripture is more visible. At the local radio station, they used to play a mixture of Islamic music and general popular hits.
Now it's only religious chants. Haji Hekmat says they banned music promoting "vulgarity" from being played in public, but insists individuals can still listen to what they want.
I've been told, however, of a local man being caught listening to music in the bazaar. To punish him, Taliban fighters are said to have made him walk barefoot in the baking sun, until he lost consciousness.
Twenty years of conflict in Afghanistan – what happened when?
From 9/11, to intense fighting on the ground, and now full withdrawal of US-led forces, here’s what happened.
9/11
11 September 2001
Al-Qaeda, led by Osama Bin Laden in Afghanistan, carries out the largest terror attack ever conducted on US soil.
Image captionThe World Trade Centre is reduced to rubbleIMAGE COPYRIGHT BYGETTY
Four commercial airliners are hijacked. Two are flown into the World Trade Centre in New York, which collapses. One hits the Pentagon building in Washington, and one crashes into a field in Pennsylvania. Nearly 3,000 people are killed.
First air strikes
7 October 2001
A US-led coalition bombs Taliban and al-Qaeda facilities in Afghanistan. Targets include Kabul, Kandahar and Jalalabad.
The Taliban, who took power after a decade-long Soviet occupation was followed by civil war, refuse to hand over Bin Laden. Their air defences and small fleet of fighter aircraft are destroyed.
Fall of Kabul
13 November 2001
The Northern Alliance, a group of anti-Taliban rebels backed by coalition forces, enters Kabul as the Taliban flee the city.
Image captionCoalition-backed Northern Alliance fighters ride tanks into Kabul as the Taliban retreatIMAGE COPYRIGHT BYGETTY
By the 13 November 2001, all Taliban have either fled or been neutralised. Other cities quickly fall.
New constitution
26 January 2004
After protracted negotiations at a “loya jirga” or grand assembly, the new Afghan constitution is signed into law. The constitution paves the way for presidential elections in October 2004.
Hamid Karzai becomes president
7 December 2004
Image captionHamid Karzai led anti-Taliban groups around Kandahar before becoming presidentIMAGE COPYRIGHT BYGETTY
Hamid Karzai, the leader of the Popalzai Durrani tribe, becomes the first president under the new constitution. He serves two five-year terms as president.
UK troops deployed to Helmand
May 2006
British troops arrive in Helmand province, a Taliban stronghold in the south of the country.
Image captionSoldiers of the Parachute Regiment lead the first UK deployment to HelmandIMAGE COPYRIGHT BYGETTY
Their initial mission is to support reconstruction projects, but they are quickly drawn into combat operations. More than 450 British troops lose their lives in Afghanistan over the course of the conflict.
Obama’s surge
17 February 2009
US President Barack Obama approves a major increase in the number of troops sent to Afghanistan. At their peak, they number about 140,000.
Image captionUS troops in intense combat operations in the south of the countryIMAGE COPYRIGHT BYGETTY
The so-called “surge” is modelled on US strategy in Iraq where US forces focussed on protecting the civilian population as well as killing insurgent fighters.
Osama Bin Laden killed
2 May 2011
Image captionBin Laden is traced to a compound located less than a mile from a Pakistani military academyIMAGE COPYRIGHT BYGETTY
The leader of al-Qaeda is killed in an assault by US Navy Seals on a compound in Abbottabad in Pakistan. Bin Laden’s body is removed and buried at sea. The operation ends a 10-year hunt led by the CIA. The confirmation that Bin Laden had been living on Pakistani soil fuels accusations in the US that Pakistan is an unreliable ally in the war on terror.
Death of Mullah Omar
23 April 2013
The founder of the Taliban, Mullah Mohammed Omar, dies. His death is kept secret for more than two years.
Image captionThe Taliban leader is believed to have suffered a shrapnel wound to his right eye in the 1980sIMAGE COPYRIGHT BYEPA
According to Afghan intelligence, Mullah Omar dies of health problems at a hospital in the Pakistani city of Karachi. Pakistan denies that he was in the country.
Nato ends combat operations
28 December 2014
At a ceremony in Kabul, Nato ends its combat operations in Afghanistan. With the surge now over, the US withdraws thousands of troops. Most of those who remain focus on training and supporting the Afghan security forces.
Taliban resurgence
2015
The Taliban launch a series of suicide attacks, car bombings and other assaults. The parliament building in Kabul, and the city of Kunduz are attacked. Islamic State militants begin operations in Afghanistan.
Image captionKabul's international airport is struck on 10 August 2015IMAGE COPYRIGHT BYGETTY
Death toll announcement
25 January 2019
Afghan President Ashraf Ghani says more than 45,000 members of his country’s security forces have been killed since he became leader in 2014. The figure is far higher than previously thought.
US signs deal with Taliban
29 February 2020
The US and the Taliban sign an “agreement for bringing peace” to Afghanistan, in Doha, Qatar. The US and Nato allies agree to withdraw all troops within 14 months if the militants uphold the deal.
Image captionThe deal lays out a timetable for full withdrawalIMAGE COPYRIGHT BYGETTY
Date for final withdrawal
11 September 2021
US forces are scheduled to withdraw from Afghanistan by 11 September 2021, exactly 20 years since 9/11. There are strong indications that the withdrawal may be complete before the official deadline.
Haji Hekmat insists no such thing happened. As we leave the station, he gestures to some of the young men working there, pointing out they don't have beards.
"See! We're not forcing anyone," he says, grinning.
It's clear the group do want to portray a softer image to the world. But in other parts of the country the Taliban are reported to be behaving much more strictly. The differences may depend on the attitudes of local commanders.
With reports of extra-judicial revenge killings and other human rights abuses in some of the areas they've captured, the Taliban have been warned by Western officials they risk turning the country into a pariah state if they try to seize it by force.
What many associate most closely with the Taliban's previous stint in power, is the brutal punishments meted out under their interpretation of Sharia law.
Last month in the southern province of Helmand, the group hanged two men accused of child kidnapping from a bridge, justifying it by saying the men had been convicted.
In Balkh, on the day we visit a Taliban court session, all the cases are related to land disputes. Whilst many fear their form of justice, for others it at least offers the possibility of a quicker resolution than the notoriously corrupt government system.
"I've had to pay so many bribes," complains one of the litigants as he discusses his previous attempts to resolve the case.
The Taliban judge, Haji Badruddin, says he's not yet ordered any corporal punishment in the four months he's been in office, and emphasises the group has a system of appeal courts to review serious verdicts.
But he defends even the harshest penalties.
"In our Sharia it's clear, for those who have sex and are unmarried, whether it's a girl or a boy, the punishment is 100 lashes in public.
"But for anyone who's married, they have to be stoned to death… For those who steal: if it's proved, then his hand should be cut off."
He pushes back against criticism of the punishments as incompatible with the modern world.
"People's children are being kidnapped. Is that better? Or is it better that one person's hand is chopped off and stability is brought in the community?"
For now, despite the Taliban's rapid advance, the government remains in control of Afghanistan's biggest cities. The coming months are likely to see protracted and increasingly deadly violence as the two sides wrestle for control.
I ask Haji Hekmat if he's sure the Taliban can win militarily? "Yes," he replies. "If peace talks are not successful, we will win, God willing."
Those talks however, have stalled, and the Taliban's repeated demand for the creation of an "Islamic government" appears tantamount to a call for their opponents to surrender.
"We have defeated both the foreigners," says Haji Hekmat, "and now our internal enemies."