Montenegro's special prosecutor has accused Russia and its secret service operatives of plotting an election-day coup attempt that included plans to kill the small Balkan country's former prime minister.

Prosecutor Milivoje Katnic said an investigation into the alleged plot last October to overthrow Montenegro's government and prevent it from joining NATO has shown "that Russian state bodies were involved at a certain level."

Speaking in a conference call on Monday, Russian President Vladimir Putin's spokesman, Dmitry Peskov, denied the claim as "absurd" and "irresponsible."

"There can't be even talk about any sort of Russian officials' interference into Montenegro's internal affairs," Peskov said. "Russia hasn't interfered and isn't going to interfere into domestic affairs of other countries, and in particular Montenegro with which we have very good relations."

Earlier, Russian Foreign Minister Sergey Lavrov also denied what he described as "unfounded accusations," adding that they "haven't been backed by a single fact."

The Kremlin, opposed to further NATO expansion in Europe, has repeatedly denied involvement in the alleged plot. But it has actively supported nationalist groups and parties opposed to Montenegro's NATO membership.

Some 20 people, mostly Serbian citizens, have been arrested in Montenegro over the alleged election-day plot.

"The meddling by Russia into our electoral process was obvious from different levels," Montenegro's foreign minister, Srdjan Darmanovic, said on Monday.

"In today's world, such interference is not specific only for Montenegro," he added, apparently referring to allegations that Moscow influenced presidential elections in the U.S. when Donald Trump was elected.

Katanic, the Montenegrin prosecutor, told Prva TV late Sunday that Eduard Shishmakov, an alleged Russian military spy, was the main coordinator of the plot that included taking over of the parliament in the capital, Podgorica, and the killing of then-Prime Minister Milo Djukanovic, who brought the small Adriatic nation to the threshold of NATO membership.

Shishmakov and another Russian operative reportedly coordinated the action from neighboring Serbia using encrypted mobile phones and other sophisticated spy equipment. They were allowed to return to Russia despite Serbian officials' acknowledgment of their activities.

Shishmakov was deputy Russian military attaché in Poland before being expelled for espionage in 2014, Katnic said. In 2014 there were several tit-for-tat expulsions involving Russia and Poland but the people expelled were never publicly named.

Katnic said that Shishmakov traveled to Serbia on a passport with another name, Eduard Shirokov.

"So, the passport was given to him by certain Russian state bodies under another name, and he is a member of the Russian military structures," Katnic said. "It is clear that the passport on another name could not have been issued, as well as everything else ... without the involvement of certain (Russian state) structures."

"It is up to the Russian state institutions to investigate in order to identify which were those (state) bodies and launch criminal proceedings for such acts," Katnic said.

U.S. President Donald Trump's stand on NATO, which he has described as an "obsolete" organization, and his warming of relations with Putin, has worried many in Montenegro and the rest of the war-torn Balkans.