– The CIA is expanding its covert operations in Afghanistan, sending small teams of highly experienced officers and contractors alongside Afghan forces to hunt and kill Taliban militants across the country, according to two senior U.S. officials, the latest sign of the agency’s increasingly integral role in President Donald Trump’s counterterrorism strategy.

The assignment marks a shift for the CIA in the country, where it had primarily been focused on defeating Al-Qaida and helping the Afghan intelligence service. The CIA has traditionally been resistant to an open-ended campaign against the Taliban, the primary militant group in Afghanistan, believing it was a waste of the agency’s time and money and would put officers at greater risk as they embark more frequently on missions.

Former agency officials assert that the military, with its vast resources and manpower, is better suited to conducting large-scale counterinsurgencies. The CIA’s paramilitary division, which is taking on the assignment, numbers only in the hundreds and is deployed all over the world. In Afghanistan, the fight against the Islamic State in Iraq and Syria has also diverted CIA assets.

The expansion reflects the CIA’s assertive role under its new director, Mike Pompeo, to combat insurgents around the world. The agency is already poised to broaden its program of covert drone strikes into Afghanistan; it had largely been centered on the tribal regions of Pakistan, with occasional strikes in Syria and Yemen.

“We can’t perform our mission if we’re not aggressive,” Pompeo said at a security conference this month at the University of Texas. “This is unforgiving, relentless. You pick the word. Every minute, we have to be focused on crushing our enemies.”

The CIA declined to comment on its expanded role in Afghanistan, which will put more lower-level Taliban militants in its cross hairs. But the mission is a tacit acknowledgment that to bring the Taliban to the negotiating table — a key component of Trump’s strategy for the country — the United States will need to aggressively fight the insurgents.

In outlining his security policies for Afghanistan and the rest of South Asia this summer, Trump vowed to loosen restrictions on hunting terrorists.

“The killers need to know they have nowhere to hide, that no place is beyond the reach of American might and American arms,” Trump said. “Retribution will be fast and powerful.”

The CIA’s expanded role will augment missions carried out by military units, meaning more of the United States’ combat role in Afghanistan will be hidden from public view. At the height of the conflict, U.S. Special Operations troops hunted Taliban bomb makers, including with night raids. Now, with Afghan commando forces and their Western partners focused primarily on retaking territory from the Taliban and ISIS, the agency’s teams will concentrate on hunting these types of threats, according to the officials.

The new effort will be led by small units known as counterterrorism pursuit teams. They are managed by CIA paramilitary officers from the agency’s Special Activities Division and operatives from the National Directorate of Security, Afghanistan’s intelligence arm, and include elite U.S. troops from the Joint Special Operations Command. The majority of the forces, however, are Afghan militia members.

For years, the primary job of the CIA’s paramilitary officers in the country has been training the Afghan militias. The CIA has also used members of these indigenous militias to develop informant networks and collect intelligence.

The U.S. commandos — part of the Pentagon’s Omega program, which lends Special Operations forces to the CIA — allow the Afghan militias to work together with conventional troops by calling in airstrikes and medical evacuations.

In the past, the counterterrorism pursuit teams have operated in Afghanistan’s southern provinces and near its mountainous border with Pakistan in the northeast, sometimes even undertaking raids to go after militants across the border. As the U.S. military drew down its presence in Afghanistan in 2014, the teams continued to conduct missions in Afghan cities and in the surrounding countryside, and with greater autonomy. The units have long had a wide run of the battlefield and have been accused of indiscriminately killing Afghan civilians in raids and with airstrikes.

“The American people don’t mind if there are CIA teams waging a covert war there,” said Ken Stiles, a former agency counterterrorism officer. “They mind if there’s 50,000 U.S. troops there.”

Pompeo said in his remarks in Texas that Trump had authorized the agency to “take risks” in its efforts to combat insurgents “as long as they made sense.”

Since 2001, at least 18 CIA personnel have died in Afghanistan.