New Delhi: Afghan President Hamid Karzai on Friday spoke to Prime Minister designate Narendra Modi and assured him that Kabul "will do all to protect Indian missions there".
The External Affairs Ministry said Modi thanked Karzai for the "efforts of Afghan forces in thwarting (the) attack on India`s consulate in Herat".
Modi earlier telephoned the Indian ambassador in Kabul, Amar Sinha.
Modi said in a tweet: "I condemn the attack on our consulate in Herat. Closely monitoring the situation. I have spoken to the ambassador as well."
The Indian consulate in Herat was attacked by four gunmen on Friday.
Modi will be sworn in as prime minister on Monday. Karzai is among the SAARC leaders expected to attend the event.