© Maks Vetrov / Sputnik
Russia's Federal Security Service (FSB) has killed an ISIS terrorist who plotted an attack on its local HQ and an administrative building in Stavropol. Agents recovered a firearm, IED components, and an ISIS flag from the scene.

The FSB operatives attempted to arrest the suspected terrorist in the southern Russian region of Stavropol on Saturday. The perpetrator, however, resisted and engaged in a firefight with law enforcement, receiving a fatal wound, the FSB press service said.

The terrorist plotted an attack on a local office of the FSB and a Stavropol government building, "using firearms and improvised explosive devices (IEDs)."

The agents recovered a sawed-off 16-gauge shotgun, a large knife, IED components, and an Islamic State flag (IS, formerly ISIS). A written pledge of allegiance to IS and plans regarding the government and FSB HQ buildings were also found at the scene.

The FSB did not provide any details on the terrorist's identity, stating only that an investigation was underway.

In a separate development, a large-scale counter-terrorism operation was launched in the town of Derbent, in the Russian republic of Dagestan, media reports, citing local law enforcement. A group of militants was reportedly blocked by FSB and police operatives in a building. The militants refused to surrender, and several of them were killed in a firefight.

The counter-terrorism operations came only a few days after another major terrorist cell was busted by the FSB in Rostov Region. Three IS-linked terrorists, who plotted gun and bomb attacks, were captured. The leader of the cell, however, blew himself up with a homemade bomb when law enforcement tried to detain him.