Kabul: The Indian consulate in Afghanistan's northern city of Mazar-i-Sharif came under a terror attack on Sunday, but two of the attackers were killed, media reports said.
Afghan news agency Pajhwok Afghan News said in a tweet: "Two attackers were killed in fighting after insurgents attacked Indian consulate in Mazarisharif city."
Sources told Xinhua news agency that there were no casualties on the Indian side.
"Two of the four militants, who targeted the three-member consulate, have been gunned down by Afghan special forces," the sources said.
In a series of tweets, Pajhwok Afghan News earlier said: "Police confirmed blast in gun fires in PD4 near to #Indian consulate in #Afghanistan's Mazar-i-Sharif city."
"Balkh governor spokesman told Pajhwok that attackers entered a house and firing on Indian Consulate in Maza-i-Sharif city."
"Police says, no casualties yet reported from attack on #Indian Consulate in Maza-i-Sharif city."
"Gun fires resumed after armed people attacked #Indian Consulate in MazairSharif city."
BBC also said explosions and gunfire were heard near the Indian consulate.
The report said it was not immediately clear whether the consulate was directly targeted, as the area also has a building belonging to a local politician.
Indian diplomatic missions in Afghanistan have come under militant attacks earlier too. In 2008 and 2009, the embassy in Kabul was attacked, leaving dozens dead.
In May 2014, gunmen attacked the Indian consulate in Herat, while in August 2013, nine civilians died when the consulate in Jalalabad was targeted.