Miftakhov, a graduate student in the mathematics and mechanics department at Moscow State University, was first arrested in 2019. In January 2021, he was sentenced to six years in a general-regime penal colony in a case over an attack on a United Russia office. Investigators alleged that Miftakhov and other anarchists broke a window and threw a smoke bomb inside. Miftakhov pleaded not guilty.
He was released in September 2023, but was detained again immediately outside the penal colony — this time in a case of “justifying terrorism.” The charge was based on an alleged conversation between Miftakhov and a fellow inmate. That prisoner, who later became the prosecution’s main witness, was subsequently killed in the war in Ukraine.
In the second case, Miftakhov was sentenced to four years in custody, with the first two and a half years to be served in prison and the remainder in a high-security penal colony. It was while he was held in the prison in Dimitrovgrad that he solved the mathematical problem Randé had proposed.
After completing the prison portion of his sentence, Miftakhov was transferred to IK-18 Polar Owl, a penal colony in the settlement of Kharp in the Yamalo-Nenets Autonomous District. Notably, Polar Owl is located down the road from IK-3 Polar Wolf, where the late opposition politician and anti-corruption activist Alexei Navalny was murdered with a deadly frog-derived toxin in February 2024.
In May, Miftakhov reported that shortly after his arrival at Polar Owl, prison staff and two inmates tortured him for several hours. He said they beat the soles of his feet with a wooden mallet, threatened him with sexualized violence, threatened to dunk him in a sewage manhole, blocked his breathing, and tortured him with electric shocks.
Russia’s Investigative Committee initially refused to open a criminal case into the matter, saying the torture allegations had not been confirmed. Then, on July 15, a court in Labytnangi ruled that the investigator’s inaction was unlawful and ordered the violations to be corrected.