The attacks threaten to derail Indian Prime Minister Narendra Modi's bold diplomatic outreach to arch-rival Pakistan following his first official visit to Afghanistan.

No group has so far claimed responsibility for the raid on the consulate in the northern Afghan city, the latest assault on an Indian installation in the country.

The official, who was hunkered down in a secure area within the complex, said all consulate employees were safe and accounted for.

Assailants holed up in a building close to the consulate traded heavy fire with Afghan forces who cordoned off the street following a series of explosions, officials said.

Vikas Swarup, an Indian foreign ministry spokesman, said that no Indian casualties had been reported so far.

The attack comes just a day after suspected Islamic insurgents mounted a deadly assault on an Indian air force base near the Pakistan border.

Seven soldiers and six attackers were confirmed killed in the assault on the Pathankot base in the northern state of Punjab, which triggered a 14-hour gun battle Saturday.

The assaults come a week after Modi paid a surprise visit to Pakistan, the first by an Indian premier in 11 years.

The visit immediately followed a whirlwind tour of Kabul, where Modi inaugurated an Indian-built parliament complex and gifted three Russian-made helicopters to the Afghan government.

Latest News from World News Desk