Militants have attacked an army base near a military academy in the Afghan capital, Kabul, killing at least 11 soldiers.
Sixteen other Afghan soldiers were injured, a defence ministry spokesman told the BBC.
Five militants were involved, said the spokesman. Four were killed in the attack but one was arrested.
The attack has been claimed by the Islamic State (IS), according to the militant group’s Amaq news agency.
Earlier reports said the attack had taken place at Marshal Fahim National Defense University, which is near the military base.
It comes days after the deadliest bombing for months hit Kabul when Taliban militants in an ambulance packed with explosives killed at least 100 people.