ISLAMABAD, Pakistan (CNN) -- The Afghan government condemned a bombing near a Pakistani consulate in western Afghanistan, saying such criminal acts "will strengthen the resolve of both the countries to fight terrorism."
The Pakistani Foreign Ministry summoned the Afghan ambassador to hear an expression of "grave concern," the ministry said in a written statement.
"The government of Pakistan holds the government of Afghanistan responsible for the safety and security of its personnel," the statement said. "We hope that government of Afghanistan will take its responsibility seriously."
Pakistan said the blast Thursday afternoon in the city of Herat wounded a policeman.
The Afghan Ministry of Foreign Affairs also issued a statement, saying that such "gloomy acts of terrorism" go against the "high values of the civilized world like peace, security, human rights, democracy and social welfare."
The Afghans said both countries must take "more sincere and decisive steps on the side of international community to fight this menace."
Pakistan has four consulates in Afghanistan, in addition to an embassy in the capital city of Kabul.
The two countries share a tumultuous history.
During the Soviet occupation of Afghanistan in the 1980s, religious schools in Pakistan helped train fighters who battled the Soviets.
After the Taliban took over Afghanistan in 1996 and imposed fundamentalist rule, Pakistan was one of the few countries that recognized the Taliban regime diplomatically. It dropped its support after the September 11, 2001, terrorist attacks in Washington and New York.
But Afghanistan claims Pakistan continues to informally support the militants, who operate from havens in Pakistan's lawless tribal regions near the porous 1,500-mile border between the two countries.
Earlier this month, Afghan lawmakers directly accused Pakistan's intelligence agency in a string of attacks in Afghanistan.
Among these was an assassination attempt on Afghan President Hamid Karzai at an April 27 military ceremony, and a bombing outside the Indian Embassy in Kabul that killed at least 58 people on July 7.
Pakistan has repeatedly denied involvement and bristled at the accusation, saying that Afghan lawmakers were making allegations without proof.
Relations between the countries are so strained that Karzai has threatened to send troops across the border to take on the militants.