The Taliban has claimed responsibility for an attack on a police academy near the capital, Kabul, that killed dozens of recruits.
At least 27 people were killed and another 40 wounded in the suicide blasts, a government official told the Reuters news agency.
Mousa Rahmati, the district governor of Paghman, told the Associated Press that Thursday's attack took place around 20km west of Kabul.
He said the trainee police officers were returning from a training centre in Wardak province and were heading to the capital on leave.
The Taliban said it was behind the attack in an email sent to The Associated Press by spokesman Zabihullah Mujahid.
Former Afghan parliamentarian Daoud Sultanzoy said the death toll in the "very well coordinated and pre-planned" attack was expected to go up.
"This attacker and the group had enough information to conduct this atrocity in a well-planned manner," he told Al Jazeera, adding that the recent increase in attacks was a sign of Taliban desperation.
"The Taliban, we should expect that they will increase their attacks because they're suffering in the war front, their commanders are being killed, their activities are being hampered in a very major way by our security forces."
The attack is the latest major assault by the group and comes just nine days after 14 Nepali security guards were killed in a suicide bomb attack on their minibus, also in the city.