Russia on Saturday said it would expel a Ukrainian diplomat, prompting an immediate pledge of retaliation from Kiev, further escalating tensions over Moscow’s troop build-up on Ukraine’s eastern flank.

The detention of a Ukrainian consul in the second city Saint Petersburg comes at a time of global concern of a repeat of Moscow’s 2014 aggression, when Russia annexed the peninsula of Crimea and backed separatists in Ukraine’s east.

Moscow claimed the Ukrainian diplomat had been caught “red-handed” trying to obtain sensitive information.

In response, the Ukrainian foreign ministry protested “the illegal” detention of its diplomat and said Kiev would expel a senior Russian diplomat.

Kiev has been battling Russian-backed separatists in eastern Ukraine since 2014 and clashes intensified early this year, effectively shredding a ceasefire agreed last July.

Around 30 Ukrainian troops have been killed since the start of the year, compared to 50 last year. Most of them were victims of sniper fire.

Russia has detained a number of Ukrainian nationals on suspicion of spying in recent years but the arrest of a diplomat is rare.

“A Ukrainian diplomat, a consul of Ukraine’s Consulate General in Saint Petersburg, Alexander Sosonyuk, has been detained by Russia’s FSB,” the security service said in a statement, using the Russian language spelling of his name.

He was held on Friday, the security service said. Kiev said the diplomat had spent several hours in detention.

The Russian foreign ministry said Saturday it had summoned Ukraine’s charge d’affaires Vasyl Pokotylo and told him that the Ukrainian diplomat had 72 hours to leave the country “beginning April 19”.

“The Russian side pointed to the inadmissibility of such kind of activity,” the foreign ministry said in a statement.

Russia’s domestic intelligence agency said Sosonyuk had been caught “red-handed” during a meeting with a Russian national as he sought to receive “classified” information.

“Such activity is not compatible with his diplomatic status and is clearly hostile in nature towards the Russian Federation,” the FSB said.

“In conformity with international law, measures will be taken against the foreign diplomat.”

– ‘Crude violations’ –

In Kiev, the Ukrainian foreign ministry said it protested the diplomat’s detention and rejected Russia’s accusations.

Foreign ministry spokesman Oleg Nikolenko said Russia had “crudely” violated diplomatic conventions and sought to escalate tensions.

“In response to the above-mentioned provocation, a senior diplomat of the Russian embassy in Kiev must leave Ukrainian territory within 72 hours beginning April 19,” Nikolenko told AFP. He did not provide further details.