Russian FSB border guards are to leave Armenia by Jan. 1, 2029, with responsibility for protecting the country’s borders transferred fully to Armenia’s border guard service, Prime Minister Nikol Pashinyan said Thursday.

“We agreed that by Jan. 1, 2029, the protection of the borders would be fully transferred to the Armenian border guard service,” Pashinyan told reporters in Yerevan. He made the announcement a day after meeting Russian President Vladimir Putin at the Kremlin.

FSB border guards have been stationed at Armenia’s borders with Turkey and Iran under a bilateral agreement since 1992.

Armenia, once a close Russian ally, has increasingly fallen out with Moscow since Azerbaijan’s military offensive in September 2023, when Azerbaijan took control of the breakaway region of Nagorno-Karabakh.

Since then, Pashinyan has committed to pursuing EU membership by 2028. Russia has warned that Armenia would have to leave the Eurasian Economic Union (EAEU), a bloc of former Soviet republics, to join the EU.

“As you know, this is a challenge for us, because membership in both organizations is incompatible,” Putin told Pashinyan during Wednesday’s meeting in Moscow.

The EAEU is expected to discuss the possible suspension of Armenia later this month. Pashinyan said he is considering putting the question of leaving the EAEU and pursuing EU membership to a referendum alongside a public vote on a new constitution.

The Kremlin has also said Armenia should decide sometime next year whether to pursue EU membership or remain in the EAEU.

Tensions between the countries escalated earlier this year after Russia began introducing import restrictions on Armenian goods, including food and drink products. Pashinyan said Thursday the “political situation that gave rise to this situation has been addressed and resolved,” although Russia’s import bans remain in place.