Mohammadi was arrested in 2019 for teaching the Kurdish language and detained for seven months, including a period in solitary confinement. In February 2021, an appeals court upheld a five-year prison sentence for “forming a group against national security.” Mohammadi was taken to Sanandaj Correctional Center in January 2022 to serve her sentence, but was released in February 2023 as part of a general amnesty.