In the aftermath of the coup, Demirtas was arrested and accused of supporting terrorism, specifically the PKK, the armed Kurdish movement. He was detained in a remote prison and charged with various terrorism-related offences that collectively carried a sentence of up to 142 years.

