(CNN) Two US service members were killed and six others wounded after an attack on a joint US-Afghan operation in the Nangarhar province in eastern Afghanistan on Saturday, the US military said in a statement.

The Defense Department on Sunday identified the two soldiers who died from wounds sustained during combat operations as Sgt. 1st Class Javier Jaguar Gutierrez, 28, of San Antonio, Texas, and Sgt. 1st Class Antonio Rey Rodriguez, 28, of Las Cruces, New Mexico.

Both men were assigned to the 3rd Battalion, 7th Special Forces Group (Airborne) based at Eglin Air Force Base in Florida.

The military has said the incident was under investigation and wounded service members in the attack were receiving medical treatment at a US facility.

Current reports indicate a person in an Afghan uniform opened fire on the combined US and Afghan forces with a machine gun at the Sherzad district center, said Col. Sonny Leggett, spokesman for the US forces in Afghanistan.

Read More