Wiki:
"Miftakhov, a "self-described anarchist," was arrested on 1 February 2019, after law enforcement officers searched his student's dorm room, and accused of building an "explosive device" that had been found a year earlier in a city near Moscow, Balashikha. He subsequently claimed that, during interrogation, he was tortured by the police.The prosecution authorities twice ruled that there wasn't enough evidence to charge Miftakhov so he was released from detention on 7 February... re-arrested... released... re-arrested..."
So they framed him badly, got their act together and framed him properly.