All four militants were killed after heavy exchange of fire between them and security forces near Indian consulate in the Afghanistan city of Jalalabad on Wednesday.
All consulate staff are safe.
Earlier, gunfire and explosions were heard near Indian consulate.
According to an agency, it was a suicide explosion outside the building.
Explosions shattered windows and doors in neighbouring buildings and also destroyed at least eight cars.