In December 2020, Maksim was detained at a protest in Minsk and sentenced to administrative arrest.
On 3 November 2021, he was detained at home before leaving for work in a criminal case over his participation in the 2020 protests. Maksim remained in custody until the trial.
In March 2022, Maksim was found guilty in a criminal case brought under the article "Organisation and preparation of actions grossly violating public order, or active participation in them" and sentenced to restricted freedom without referral to an open-type correctional facility ("home chemistry").

