The Defense Department identified the soldier killed Tuesday in Afghanistan.

Staff Sgt. Matthew McClintock, 30, died from wounds suffered when the enemy attacked his unit with small arms fire, according to the DoD announcement released late Wednesday.

The incident is under investigation.

McClintock, of Albuquerque, New Mexico, was assigned to 1st Battalion, 19th Special Forces Group, in Buckley, Washington.

McClintock and his fellow Green Berets, from 1st Battalion's A Company, deployed to Afghanistan in July, according to information from the Washington Army National Guard.

McClintock joined the Army in 2006. After completing his training, McClintock was assigned to the 1st Cavalry Division, deploying to Iraq in 2007.

He was chosen for selection in the U.S. Army Special Forces School in May 2009, according to information from the Guard. He was assigned to 1st Special Forces Group, at Joint Base Lewis-McChord, Washington, in November 2010.

He deployed to Afghanistan from August 2012 to May 2013.

× Fear of missing out? Fear no longer. Be the first to hear about breaking news, as it happens. You'll get alerts delivered directly to your inbox each time something noteworthy happens in the Military community. Thanks for signing up. By giving us your email, you are opting in to our Newsletter: Sign up for the Army Times Daily News Roundup

McClintock left active-duty in December 2014 and was assigned to 1st Battalion, 19th Special Forces Group, which is part of the Washington Guard. He was a Special Forces engineer sergeant, according to information from the Guard.

"Staff Sergeant McClintock was one of the best of the best," said Maj. Gen. Bret Daugherty, commander of the Washington Guard, in a statement. "He was a Green Beret who sacrificed time away from his loved ones to train for and carry out these dangerous missions. This is a tough loss for our organization."

McClintock is survived by his wife, infant son and his parents, according to the Guard.

McClintock was killed and two others were wounded in hours-long fighting Tuesday near the city of Marjah, in southern Helmand province.

Col. Mike Lawhorn, a military spokesman in Afghanistan, said "all casualties have been evacuated," the Associated Press reported earlier on Wednesday.

The troops' evacuation was delayed Tuesday when one helicopter took fire and was unable to land, and another was unable to take off.

Lawhorn told the AP that U.S. special operations forces were advising their Afghan counterparts during the battle. The Taliban have recently attacked a number of cities in Helmand, one of several fronts where the insurgents have advanced in the year since the U.S. and NATO formally concluded their combat mission.

Initial reports about the battle were sketchy.

"There is still a fight going on," Pentagon press secretary Peter Cook said Tuesday afternoon, hours after the casualties were sustained. "We don't yet have all the details surrounding what has taken place."