Maxim was convicted of participating in "mass riots" in a criminal case opened after spontaneous protests against falsifications in the presidential elections that took place on August 10, 2020 in Brest. Before the trial, he was under a written undertaking not to leave the country, but at the trial on July 19, 2021, the measure of restraint was changed and he was taken into custody.
In September 2022, as part of a pardon, his sentence was replaced with "house arrest".
In March 2024, a court hearing was held regarding Maxim “on replacing the restriction of freedom without sending him to an open-type correctional facility.”









