The case stemmed from her refusal to unlock her phone at the demand of police officers, who said the check was needed because Galyamina was a "person possibly involved in extremist and terrorist activity." She cited the confidentiality of correspondence.

Galyamina was detained during the day on 14 November at the railway station in Kazan. According to the politician, she had come to the city as a tourist, but five officers of the Interior Ministry's Center for Combating Extremism stopped her on the station stairs. The officers said Galyamina was on the list of "terrorists and extremists," SOTAvision reported. She is not in the Rosfinmonitoring registry, Meduza noted.

The protocol claims that in response to the officers' demands she "began to behave inadequately, wave her arms, grab at the clothing of police officers, push them, and attempted to flee." Galyamina denied this. According to her, the document said nothing about the phone and instead set out "a complete tall tale."

After her detention, the politician was held at the police station until the hearing. The 16 November session began later: the judge returned the protocol to the police to correct errors and released Galyamina for lunch. The police managed to submit a new document before the 48-hour detention period expired. Galyamina noted that it was a copy of the previous protocol.

The defense lawyer asked for the station's camera footage and body-camera recordings from police officers to be obtained; the court refused. The court also rejected a motion to move the proceedings to Moscow, Ekho reported. In her written explanation, Galyamina stated that during her detention she was threatened with the use of force, was not informed of her rights, and was not allowed to call her husband.

Galyamina was a municipal deputy of Moscow's Timiryazevsky district from 2017 to 2021. In January 2020 she became one of the organizers of the "Net" campaign for protest voting on the constitutional amendments. In March 2021 the council of municipal deputies terminated her powers early after a conviction for repeatedly violating the rules on holding rallies took effect. In September 2022 the Justice Ministry added her to its list of "foreign agents."