KABUL, Afghanistan — A gunman in an Afghan police uniform killed two British soldiers in southern Afghanistan on Saturday, a day after insurgents in U.S. Army uniforms attacked a military base, killing two U.S. Marines, wounding nine other people and destroying six Harrier fighter jets, military officials said.

Britain’s defense minister said the two soldiers, from 3rd Battalion the Yorkshire Regiment, were killed at a checkpoint shooting in Nahri Sarraj district of Helmand province in southern Afghanistan, where the Taliban have their strongest roots.

NATO said the gunman was wearing a uniform used by the Afghan Local Police, a village-level fighting force overseen by the central government.

The insider attack came a day after insurgents conducted a brazen attack on Camp Bastion, a sprawling British base, also in Helmand province. Nine personnel with the U.S.-led coalition — eight military and one contractor — were wounded in the attack, but none of their injuries were life-threatening.

Coalition authorities said late Saturday the assault was carried out by about 15 insurgents who appeared to be “well equipped, trained and rehearsed.”

Fourteen insurgents were killed. The other was wounded and detained.

They said the attackers were armed with automatic rifles, rocket-propelled grenade launchers and suicide vests. Besides destroying the six jets, they demolished three refueling stations on the base and damaged six aircraft hangars.

The Taliban claimed responsibility for that attack, saying it wanted to avenge Muslims insulted by the film that mocked the Prophet Muhammad and also because Britain’s Prince Harry is serving on the base.

A spokesman for Britain’s Ministry of Defense said Harry — third in line to the British throne — was unharmed.