The former chief of the cybercrime department at Russia's main domestic security agency Sergei Mikhailov, left, and the former employee of Kaspersky Lab cybersecurity firm Ruslan Stoyanov attend a hearing in a court in Moscow, Russia, Tuesday, Feb. 26, 2019. Moscow's District Military Court stripped Sergei Mikhailov of his colonel's rank and ordered him to pay a 400,000-ruble ($6,130) fine and handed a 14-year sentence to Ruslan Stoyanov who was charged in the same case. (AP Photo/Pavel Golovkin)

The former chief of the cybercrime department at Russia's main domestic security agency Sergei Mikhailov, left, and the former employee of Kaspersky Lab cybersecurity firm Ruslan Stoyanov attend a hearing in a court in Moscow, Russia, Tuesday, Feb. 26, 2019. Moscow's District Military Court stripped Sergei Mikhailov of his colonel's rank and ordered him to pay a 400,000-ruble ($6,130) fine and handed a 14-year sentence to Ruslan Stoyanov who was charged in the same case. (AP Photo/Pavel Golovkin)

MOSCOW (AP) — A Russian military court convicted a former senior counterintelligence officer and a cybersecurity firm executive of treason Tuesday, concluding a case that initially aroused speculation of a manufactured effort to punish the source of leaks about Russian campaign hacking.

Moscow’s District Military Court heard several months of evidence and arguments behind closed doors before delivering guilty verdicts against Col. Sergei Mikhailov, an ex-officer at Russia’s Federal Security Service (FSB), and Kaspersky Lab executive Ruslan Stoyanov.

The basis for the charges remains murky given the top-secret nature of the criminal proceedings. Russian media reported the case centered on accusations that Mikhailov contacted Stoyanov to pass information from an FSB probe of Russian businessmen Pavel Vrublevsky to an analyst with alleged ties to the FBI.

ADVERTISEMENT

Mikhailov, the deputy head of cyber intelligence at the domestic security agency, received a 22-year prison sentence and was stripped of his military rank and decorations, which included the elite “For Services to the Fatherland.”

Stoyanov was sentenced to 14 years.

The two men listened to the verdicts and sentences from a glass cage inside the courtroom, flanked by masked men.

Stoyanov’s lawyer, Inga Lebedeva, said her client would appeal and she expected the attorneys on Mikhailov’s defense team would advise their client to do the same.

The Russian opposition newspaper Novaya Gazeta and the Tsargrad TV network have reported that Mikhailov was detained at a December 2016 gathering of FSB officials where he had a bag placed over his head before he was marched out of the room.

He and Stoyanov both were charged with treason that same month. The timing led some people to suggest the actions were linked to the 2016 U.S. presidential election and a possible mole who tipped off U.S. intelligence agencies about Russian interference.

Later news reports said Mikhailov was prosecuted for allegedly passing on details about an unrelated case to an American cybercrime analyst.

An FSB officer who worked under Mikhailov, Maj. Dmitry Dokuchayev, also was detained and charged with treason. Dokuchayev signed a guilty plea and is awaiting trial along with a fourth defendant.

Russian media have identified Dokuchayev as a former hacker known as “Forb” who boasted in a 2004 interview of hacking U.S. government websites.

Andrei Soldatov, an expert on the Russian security services and co-author of “Red Web,” told The Associated Press on Tuesday that he still thinks the criminal case against Mikhailov and Stoyanov was a response to U.S. officials investigating election-related hacking.

“Their arrest ... was a direct follow-up to the outcry in the U.S. over the Russian meddling,” Soldatov said. “Mikhailov was the top FSB officer in charge of maintaining contacts with Western security agencies in the cyber-sphere, something that went out of fashion after the last scandal.”

Lebedeva, the defense lawyer, said secrecy rules prevented her from providing details about the trial. But she said after the verdicts were given that allegations involving potential meddling in the U.S. elections did not come up.

ADVERTISEMENT

She alleged the charges were trumped up to appease Vrublevsky, the Russian businessman whose information Mikhailov was accused of passing.

“The case has been concocted at Vrublevsky’s orders” Lebedeva said.

Vrublevsky, who testified during the long trial, rejected her accusation. It was not the content of the information that Mikhailov allegedly passed on to the American analyst that constituted treason, but that he shared information about an active FSB investigation with a foreign citizen, Vrublevsky said.

The businessman alleged Mikhailov abused his position at the FSB to go after internet entrepreneurs like him and “turn them into cybercriminals,” thus “whipping up cyber-hysteria around the world.”