Three suicide attackers have stormed the Chinese consulate in the Pakistani city of Karachi but were killed before they could force their way in with a car packed with explosives.
Friday's attack, claimed by separatist insurgents from the impoverished southwestern Pakistani province of Baluchistan, killed four people, including two police, but it was far from the most deadly on a particularly violent day across the region.
A suicide attacker on a motorbike set off explosives in a crowded festival and market in northwest Pakistan's Orakzai region, killing at least 25 people at around the same time as the Karachi bloodshed. There was no claim of responsibility.
The attack on China's consulate in Karachi was claimed by the separatist Baloch Liberation Army insurgent group that opposes Chinese projects linked to its Belt and Road initiative in resource-rich Baluchistan.
Two policemen and two people waiting in a queue outside the consulate were killed in the attack, along with the three gunmen.
Pakistani Prime Minister Imran Khan called it "part of conspiracy" against Pakistani and Chinese economic and strategic co-operation and ordered an inquiry, his office said.
Pakistan has long accused its old rival, India, of supporting the nationalist insurgents in Baluchistan, while India accused Pakistan of nurturing Islamist militants throughout the region.

A relative of one of the victims of the attack on Chinese consulate in Karachi. Source: AAP
India denies helping the Baluchistan insurgents and was quick to condemn the violence.
"The perpetrators of this heinous attack should be brought to justice expeditiously," India's foreign ministry said in a statement.
As the Karachi attack unfolded, an explosion and gunshots rang out in its affluent Clifton neighbourhood and a plume of smoke rose over the area.
City police chief Amir Shaikh said the three attackers came in a car filled with explosives but failed to get inside the heavily fortified compound. It was not clear if the car had exploded.
"They tried to get inside, but the Rangers and police killed one of the terrorists," Shaikh said.
A gun battle broke out with the two other attackers trying to enter the visa section, but they were also killed, he said.
A spokesman for the BLA confirmed there were three attackers.
"China is exploiting our resources," spokesman Jiand Baloch told Reuters by telephone.
China has funded development of a deep-water port at Gwadar in south Baluchistan, and is also investing in other projects on a China Pakistan Economic Corridor.
Baluchistan, which is on the borders of Afghanistan and Iran, has rich mineral and natural gas reserves but is Pakistan's poorest province.
The Chinese government's top diplomat, Wang Yi, said he was "shocked" by the attack and urged Pakistan to prevent any more such incidents.
A Chinese foreign ministry spokesman said China would "continue unswervingly" to work with Pakistan to develop economic projects.