BAGHDAD – The Islamic State group is aggressively pursuing development of chemical weapons, setting up a branch dedicated to research and experiments with the help of scientists from Iraq, Syria and elsewhere in the region, according to Iraqi and U.S. intelligence officials.

Their quest raises an alarming scenario for the West, given the determination to strike major cities that the group showed with its bloody attack last week in Paris. U.S. intelligence officials don't believe IS has the capability to develop sophisticated weapons like nerve gas that are most suited for a terrorist attack on a civilian target. So far the group has used mustard gas on the battlefield in Iraq and Syria.

Still, French Prime Minister Manuel Valls on Thursday warned that Islamic extremists might at some point use chemical or biological weapons.

"Terrorism hit France not because of what it is doing in Iraq and Syria ... but for what it is," Valls told the lower house of Parliament. "We know that there could also be a risk of chemical or biological weapons," he added, though he did not talk of a specific threat.

Iraqi officials expressed concern that the large safe haven the extremists control since overrunning parts of Iraq and Syria last year has left Iraqi authorities largely in the dark over the IS program.

"They now have complete freedom to select locations for their labs and production sites and have a wide range of experts, both civilians and military, to aid them," a senior Iraqi intelligence official told The Associated Press.

The official, like others from the Iraqi and U.S. intelligence agencies who have first-hand knowledge of the IS chemical weapons program, spoke on condition of anonymity to discuss the sensitive information.

So far, the only overt sign of the group's chemical weapons program has been the apparent use of mustard gas against Iraqi Kurdish fighters and in Syria. In mortars that hit Kurdish forces in northern Iraq earlier this year, preliminary tests by the U.S. showed traces of the chemical agent sulfur mustard.

Iraqi authorities clearly fear the use could be expanded. Over the summer, Iraq's military distributed gas masks to troops deployed west and north of Baghdad, one general told the AP. A senior officer in Salahuddin province, north of Baghdad, said 25 percent of the troops deployed there were equipped with masks.

More recently, Iraq's military received from Russia 1,000 protective suits against chemical attacks, said Hakim al-Zamili, the head of the Iraqi parliament's security and defense committee.

IS has set up a branch tasked with pursuing chemical weapons, according to a senior Iraqi military intelligence officer and two officials from another Iraqi intelligence agency. They wouldn't give details of the program, including how many personnel it is believed to have or its budget.

But al-Zamili, citing intelligence reports he has access to, told the AP that the group has managed to attract chemical experts from abroad as well as Iraqi experts, including ones who once worked for Saddam Hussein's now-dissolved Military Industrialization Authority. The foreigners include experts from Chechnya and southeast Asia, the Iraqi intelligence officials said.

IS recently moved its research labs, experts and materials from Iraq to "secured locations" inside Syria, al-Zamili added -- apparently out of concern of an eventual assault on Mosul, Iraq's second largest city, captured by IS in the summer of 2014.

"Daesh is working very seriously to reach production of chemical weapons, particularly nerve gas," al-Zamili said, using an Arabic acronym for the group. "That would threaten not just Iraq but the whole world."

Still, U.S. intelligence officials say they don't believe IS has the technological capability to produce nerve gas or biological agents, and that the militants were more likely to harm themselves trying to make them. A European official privy to intelligence on the extremist group's programs agreed, saying so far even IS production of mustard gas was in small quantities and of low quality.

The United States and its allies accused the military of Syrian President Bashar Assad of using chemical weapons in its nearly 5-year war with rebels, including a 2013 attack in a rebel-held Damascus suburb that killed hundreds. The Syrian government denies using any such weapons, but after that attack it struck a deal to give up its chemical weapons stockpiles. Still, it has been accused of continuing to use chlorine gas, a claim it denies.

Retired Lt. Gen. Richard Zahner, who was the top American military intelligence officer in Iraq in 2005 and 2006 and went on to lead the National Security Agency's electronic spying arm, noted that al-Qaida tried for two decades to develop chemical weapons and didn't succeed, showing the technical and scientific difficulties.

However, he said, U.S. intelligence agencies have consistently underestimated the Islamic State group, which has shown itself to be more capable and innovative than al-Qaida and has greater financial resources.

"Even a few competent scientists and engineers, given the right motivation and a few material resources, can produce hazardous industrial and weapons-specific chemicals in limited quantities," Zahner said.

Developing chemical weapons has been an ambition of the group -- and various other jihadi movements -- for years. There are also concerns about militants trying to obtain radioactive materials. An AP investigation published last month uncovered that authorities in the Eastern European nation of Moldova, working with the FBI have interrupted four attempts in the past five years by gangs with suspected Russian connections that sought to sell radioactive material to Middle Eastern extremists.

A senior deputy of the group's leader Abu Bakr al-Baghdadi wrote in a 2013 report to al-Baghdadi of "significant progress" toward producing chemical weapons, according to two senior officials with access to the document, obtained by Iraqi intelligence.

In it, the deputy, Sameer al-Khalifawy, wrote that chemical weapons would ensure "swift victory" and "terrorize our enemies." But, he added, what was needed was "to secure a safe environment to carry out experiments."

Al-Khalifawy was killed by rebels in Syria in early 2014. Months later, IS overran Mosul and much of northern and western Iraq, linking that territory to the stretches of northern and eastern Syria it controlled and declaring itself a "caliphate."

In May 2013, Iraqi security forces, acting on a tip from the Americans, raided a chemical weapons research lab in Baghdad's Sunni-majority district of al-Doura, the Iraqi intelligence officials said. Security forces arrested two militants running the lab, Kefah Ibrahim al-Jabouri, who held a master's degree in chemistry, and Adel Mahmoud al-Abadi, who has a bachelor's degree in physics and worked at Saddam's Military Industrialization Authority before it was disbanded in 2003.

The Iraqi officials said the two men were working with al-Baghdadi, citing IS correspondence they seized from al-Jabouri. Other international officials disputed this, however, saying the men were not connected with the group.

Iraqi officials complained of lack of cooperation from neighboring Syria.

They cited the case of a veteran Iraqi jihadist and weapons expert, Ziad Tareq Ahmed, who fled to Syria after Iraqi security agents raided his Baghdad home in 2010 and arrested members of his cell. The agents found large amounts of material that could be used for making mustard gas.

Ahmed, who has worked with several Islamic militant groups without formally joining any, was arrested by the Syrians last year. The Syrian government allowed Iraqi officals to interrogate him in prison but refused to hand him over. Then last month, they released him, two Iraqi intelligence officials said.

"This is a very grave development," said one of the officials, who heads one of Iraq's top counterterrorism agencies. "His release adds significantly to our concerns."