(CNN) -- Two British soldiers died in gunfire in southern Afghanistan, the British Ministry of Defence said.
"It is with great sadness I must inform you that a soldier from The Royal Dragoon Guards and a soldier from 1st Battalion Scots Guards were killed this evening in Lashkar Gah District, Helmand Province," Lt. Col. James Carr-Smith said in a statement.
The soldiers died Wednesday.
"The soldiers were part of a cordon operation providing security for a routine rotation of troops when they were killed by small arms fire. In the courageous and selfless act of attempting to evacuate an injured colleague, they themselves were shot and fatally wounded."
The ministry said "next of kin have been informed and have asked for a period of grace before further details are released."
More than 300 British soldiers have died in Afghanistan since the war started in October 2001.