By Jibran Ahmed
PESHAWAR, Pakistan (Reuters) - Pakistani troops fired heavy artillery at Afghan forces at their main Khyber Pass border crossing on Wednesday, the Pakistani military said, an escalation after days of clashes that have killed four people and stranded thousands on both sides.
Afghanistan's ambassador to Islamabad Omar Zakhilwal on Wednesday said he met Pakistani officials and the countries had "agreed on a ceasefire". Previous ceasefire deals announced over the last two days were swiftly broken.
Relations between the U.S. allies have never been close but have been strained over the past 15 years by Afghan accusations that Pakistan supports the Taliban who are fighting to unseat the U.S.-backed government in Kabul. Pakistan denies that.
- PHOTOS: New art and old relics at Mickey Mouse's NYC gallery 25 Pictures
- PHOTOS: See Yes on 3 supporters react to historic transgender rights Question 3 win 11 Pictures
- PHOTOS: A look back at Queen performing in the 1970s and 1980s 22 Pictures
- All of these celebrities have had their nudes leaked 35 Pictures
- PHOTOS: A look at Idris Elba's style through the years 20 Pictures
- PHOTOS: Heidi Klum's annual Halloween party and other amazing celebrity costumes 17 Pictures
- These are the spookiest cities per capita in the U.S. 5 Pictures
- Food Network star talks pumpkin carving 1 Pictures
- Who is Alexander Edwards, Amber Rose's new boyfriend? 9 Pictures
- Is Cardi B pregnant again? This tweet has people guessing 6 Pictures
- Natural Museum's best wildlife photos of the year 5 Pictures
The countries have blamed each other for the fighting that broke out on Sunday at the main crossing point between them over the construction of a new border post on the Pakistani side.
"When our people began construction work on the gate on Wednesday, Afghan forces again opened fire at our troops and construction workers," said a Pakistani security official who declined to be identified.
He said Pakistan had retaliated with long-range artillery and mortars. There was no word on any casualties.
The Pakistani military spokesman's office confirmed the Wednesday fighting.
Afghan officials, however, denied any fighting on Wednesday, but said an Afghan border guard was killed and five were wounded overnight on Tuesday. It was not immediately clear if the officials were talking about the same incident.
Pakistan's foreign ministry summoned ambassador Zakhilwal to demand that Afghanistan put an end to the "unprovoked firing" and to protest against the death of a Pakistani army major, shot on the border in a clash this week.
A diplomatic source and a Pakistani security source confirmed a fragile ceasefire had been agreed. On his Facebook page, Zakhilwal said the two sides had agreed on "de-escalation of tension, draw down of military build up and steps forward to an amicable solution".
U.S. State Department spokesman John Kirby said Washington was "concerned" by the clashes and by reports that heavy weapons were present. He urged the two sides to "resolve their disagreements ... and to de-escalate tensions."
"Good relations between the two countries are key to the stability of the region," Kirby added.
By Wednesday, trucks carrying goods to Afghanistan had been stranded on the Pakistani side of the border for four days. A Reuters journalist at the scene said trucks lined the road all the way from the northwestern city of Peshawar to the Torkham border.
Pakistan says the border gate it is building is well on its side of the border and will help stop militants from crossing and help fight drug trafficking.
Pakistan's foreign policy chief, Sartaj Aziz, expressed concern over what he called the Afghan army's attempts to "disrupt border management efforts" by Pakistan.
Afghanistan objects to all Pakistani construction on a 2,200-km (1,370-mile) border it says was unfairly imposed by British colonialists in the 19th century and which it has never recognized.
Relations between Pakistan and Afghanistan have been particularly strained in recent months over Afghan officials' anger at what they see as insincere efforts by Pakistan to help with peace talks between the Afghan government and the Taliban.
(Additional reporting by Mirwais Harooni in Kabul and Amjad Ali and David Alexander in Washington; Writing by Mehreen Zahra-Malik; Editing by Richard Balmforth and James Dalgleish)