A US major-general has been killed in an attack by a man in Afghan military uniform at a British-run military academy near Kabul, US officials say.
Two British soldiers were among the wounded, along with several Americans, a German general and an Afghan general.
Afghanistan's Ministry of Defence said the Afghan soldier who opened fire was shot dead.
The US major-general is the most senior international soldier killed since the fall of the Taliban in 2001.
He has been identified as Major-General Harold Greene, US media reported.
He was the deputy commanding general for the Combined Security Transition Command, involved in preparations for the withdrawal of US coalition troops at the end of the year, says the Associated Press.
The BBC understands the shooting at Camp Qargha happened after a dispute broke out.
The attacker was a soldier who was recruited three years ago, Afghan defence ministry sources told the BBC.
Afghan 'Sandhurst'
The incident is said to have occurred late morning or lunchtime after an argument between Afghans and an armed Afghan soldier.
The BBC's David Loyn says the Afghan Ministry of Defence has confirmed that several foreign soldiers have been injured
The Afghan soldier opened fire from a guard post at a large group of senior Afghan and international troops.
By the time he had emptied the magazine of his US-issue M16 rifle, more than a dozen people had been shot, our correspondent says.
Major-General Harold Greene is the most senior US soldier to die in combat since the Vietnam War.
The Afghan commander of the British-led officers' academy, General Gulam Sakhi, was among those wounded.
The training academy is modelled on UK military academy Sandhurst and will be the only British military presence in Afghanistan when operations end this year.
It first took cadets last October. A UK MoD spokesman said the incident was under investigation "and it would be inappropriate to comment further at this time".
But the Nato-led International Security Assistance Force (Isaf) said in a statement: "We can confirm that an incident occurred involving local Afghan and Isaf troops at Camp Qargha.
"The camp, also known as the Kabul ANA Officer Academy, is an Afghan National Security Forces facility. We are in the process of assessing the situation."
The academy is set in a long, low ridge of hills close to Kabul.
Its military history syllabus includes the analysis of Afghan tactics in past wars against the British, as well as during the mujahedeen wars against the Soviet army.
There were 10,000 applicants who applied ahead of its first intake.
Shortly after the academy opened there was a shooting incident when an Afghan soldier in a neighbouring barracks opened fire, injuring Australian and New Zealand troops providing security.
There are also troops from other nations at the site, including a large contingent of US soldiers.
Most of the UK's combat troops have already left Afghanistan, and almost all will have left by the end of the year.
Latest Stories
-
How does the new Club World Cup work, and why is it so controversial?
2 mins -
Nana Kwame Bediako proposes construction of more state-owned football academies
10 mins -
Watching football frequently is a waste of time – Nana Kwame Bediako
42 mins -
‘We have wasted taxpayers money’ – Herbert Mensah on Ghana’s sporting decline
54 mins -
No African-based quality; achieve international healthcare standards with local solutions – SafeCare Founder
2 hours -
UHC alone insufficient without quality healthcare – PharmAccess CEO warns
2 hours -
CHAG to receive GH¢2.2bn boost; GH¢110m earmarked for 2025 recruitment – MoH
2 hours -
Ghana Industry CEO Awards: Bright Ladzekpo is Most Respected Advertising CEO
2 hours -
Video: Fatawu Issahaku joins Leicester dressing room celebrations after win over West Ham
3 hours -
Kempinski lights up the festive season in grand style
3 hours -
‘We’ll seal every ballot box’ – NDC’s Tanko-Computer slams Ashanti Regional EC boss for blocking party seals
3 hours -
39 CHAG facilities achieve SafeCare Level 4 – Executive Director
3 hours -
Election 2024: NDC elders asks polling agents to uphold their duties and safeguard Ghana’s future
4 hours -
Bank boss takes pay cut after employee ‘tried to kill clients’
4 hours -
Man jailed four years for threatening to shoot, kill citizens during Dec. 7 elections
4 hours