WASHINGTON (AP) — U.S. officials said three U.S. Army special operations commandos were killed Wednesday and two others were wounded when they came under fire in southwest Niger. 
 
 The officials said the two wounded were taken to Niamey, the capital, and are in stable condition. The officials were not authorized to discuss the incident publicly so spoke on condition of anonymity. 
 
 The officials said the commandos, who were Green Berets, were likely attacked by al-Qaida in the Islamic Maghreb militants. 
 
 In a statement, U.S. Africa Command said the forces were with a joint U.S. and Nigerien patrol north of Niamey, near the Mali border, when they came under hostile fire. 
 
 Africa Command said the U.S. forces are in Niger to provide training and security assistance to the Nigerien Armed Forces in their efforts against violent extremists. 
 
 The White House said President Donald Trump was notified about the attack Wednesday night as he flew aboard Air Force One from Las Vegas to Washington. Trump was in Las Vegas meeting with victims of Sunday night's shooting massacre, along with first responders and doctors. 

 (CNN) Three US Green Berets were killed and two others were wounded in southwest Niger near the Mali-Niger border when a joint US-Nigerien patrol was attacked Wednesday, US officials told CNN. 
 
 A US official told CNN that initial indications are the Green Berets were ambushed by up to 50 fighters who are thought to be affiliated with ISIS. 
 
 US Africa Command, which oversees military operations in Africa, issued a statement Thursday saying the two wounded US service members were "evacuated in stable condition to Landstuhl Regional Medical Center in Germany." 
 
 Officials told CNN that French military Super Puma helicopters evacuated the wounded Americans along with those killed in action while also providing covering fire. 
 
 The attack occurred approximately 200 kilometers north of the country's capital, Niamey, in southwest Niger, according to the statement from Africa Command. 
 
 JUST WATCHED Niger: Strange mix of US military and migrant hub Replay More Videos ... MUST WATCH Niger: Strange mix of US military and migrant hub 05:58 
 
 Five Nigerien soldiers also were killed in the attack, according to a Nigerien security official. 
 
 The officials cautioned that this was still an early assessment. The Green Berets were part of a team advising and assisting local forces when they were attacked. 
 
 A US defense official told CNN that operations are underway in the area to locate the attackers. 
 
 A spokeswoman for the French Ministry of Defense confirmed that French troops from the Barkhane anti-terror force based in Chad are currently involved in an operation in Niger. She said the operation is being led by Niger and the French troops are there to support them. 
 
 She added that no French soldiers were killed during Wednesday night's ambush. 
 
 US Africa Command confirmed in a statement Thursday morning that three US service members were killed in the attack and said the names were being withheld pending the notification of next of kin. 
 
 "US forces are in Niger to provide training and security assistance to the Nigerien Armed Forces, in their efforts to counter violent extremist organizations in the region," the statement said. 
 
 President Donald Trump was briefed on the attack by chief of staff John Kelly, White House press secretary Sarah Sanders said Wednesday night. 
 
 A U.S. Army Special Forces weapons sergeant observes a Niger Army soldier during marksmanship training in Diffa, Niger, in February 2017. 
 
 Supporting role for US military in Niger 
 
 There are about 800 US troops in Niger, and the US military has maintained a presence in the northwest African country for five years, with small groups of US Special Operations Forces advising local troops as they battle two terrorist groups, ISIS-affiliated Boko Haram and al Qaeda's North African branch, al Qaeda in the Islamic Maghreb. 
 
 "Niger is an important partner of ours, we have a deep relationship with them," Lt. Gen. Kenneth McKenzie, the director of the Joint Staff, told reporters at the Pentagon Thursday. 
 
 "We are committed to that relationship, we believe that they are as well. In fact, I think it's a very good success story," he added. 
 
 US officials view Chad, Niger and Mali as being particularity important as they serve as bridges between north and sub-Saharan Africa, saying that local al Qaeda and ISIS affiliates use their control of these transit routes to gain revenue that helps them recruit, expand and export attacks. ISIS uses these North-South transit routes to move fighters northward, where they can gain more easily access Europe and the West. 
 
 One official told CNN that ISIS is attempting to illegally infiltrate the gold mining industry in Niger to sell on the black market and finance world terrorism. 
 
 Al Qaeda in the Islamic Maghreb has maintained a presence in the Mali-Niger border area, despite a multi-year French-led military counterterrorism effort, Operation Barkhane, which began in 2014. 
 
 The US military has largely played a supporting role, providing intelligence, surveillance and reconnaissance assets in support of French forces operating in Mali and Niger. The French operation involves thousands of French troops as well as forces from Germany, Mali, Niger and other countries in the region. 
 
 And while US troops largely play a supporting role, military leaders acknowledge the risks they face. 
 
 "Clearly there's risks for our forces in Niger," McKenzie said while declining to discuss the specifics of Wednesday's attack, citing "ongoing partnered operations." 
 
 "Any time we deploy full forces globally we look very hard at the enablers that need to be in place in order to provide security for them and that ranges from the ability to pull them out if they're injured to the ability to reinforce them at the point of a fight if they need reinforcement," he added. 
 
 "US forces are in Niger to provide training and security assistance to the Nigerien Armed Forces, including support for intelligence, surveillance and reconnaissance efforts, in their efforts to target violent extremist organizations in the region," said US Navy Lt. Cmdr. Anthony Falvo, a spokesman for US Africa Command, adding, "one aspect of that is training, advising and assisting the Nigeriens in order to increase their ability to bring stability and security to their people." 
 
 Terror groups in Libya 
 
 Wednesday's attack comes after US drones struck ISIS fighters in neighboring Libya twice in a week in late September. 
 
 Those two missions, the first under the Trump administration, suggest US officials have become increasingly concerned that the terror group is regaining strength in Libya. 
 
 More than two dozen ISIS fighters were killed in the airstrikes, US Africa Command said. 
 
 While the ISIS presence in Libya has been much reduced following a near five-month-long US air campaign against the terror group in the final stretch of the Obama administration, small groups of ISIS fighters had begun to reconstitute themselves in remote desert areas, taking advantage of the lingering instability resulting from the Libyan civil war. 
 
 US airmen frtake down tents from the old base to move to a new location, on September 11, 2017, at Air Base 201 in Agadez, Niger. 
 
 "ISIS and al Qaeda have taken advantage of ungoverned spaces in Libya to establish sanctuaries for plotting, inspiring and directing terror attacks; recruiting and facilitating the movement of foreign terrorist fighters; and raising and moving funds to support their operations," US Africa Command said in a September 28 statement. 
 
 US Africa Command did not specify where the US drones used in the Libya strikes were launched from, but the Pentagon is in the process of establishing a drone base just outside the city of Agadez in Niger in an effort to bolster regional counterterrorism efforts. 
 
 The US has been using a local Nigerien airport while the base is under construction, according to US Africa Command. 
 
 A US Africa Command news release dated October 2 says the construction of the Agadez airbase "is projected to be the biggest military labor troop project in US Air Force history." 
 
 "While nearby terrorist cells and human smuggling are an ongoing threat, the remote location makes daily operations a task unto themselves," says the story posted on the US Africa Command's website. 
 
 Wednesday's casualties were not the first this year in the US fight against terror groups in Africa. 
 
 In May, a US Navy SEAL was killed in Somalia during an operation against local al Qaeda affiliate al Shabaab. 
 
 The SEAL was the first US service member killed in action in Somalia since 1993, when two Black Hawk helicopters were shot down and 18 American soldiers were killed in the Battle for Mogadishu.
– US officials say three US Army special operations commandos were killed Wednesday and two others were wounded when they came under fire in southwest Niger. The officials say the two wounded were taken to Niamey, the capital, and are in stable condition, the AP reports. The officials say the commandos, who were Green Berets, were likely attacked by al-Qaeda in the Islamic Maghreb militants. In a statement, US Africa Command said the American forces were on a joint patrol with Nigerien Armed Forces troops north of Niamey, near the Mali border, when they came under hostile fire. Africa Command said the US forces are in Niger to provide training and security assistance to the Nigerien Armed Forces in their efforts against violent extremists. The White House says President Trump was notified about the attack Wednesday night as he flew aboard Air Force One from Las Vegas to Washington. The military says the two wounded soldiers will soon be transported to Germany for medical treatment, CNN reports.