I already mentioned in-game that you were arrested for taking part in a jailbreak and acting in compliance with the attempted murder of an officer. Just because you commit crimes whilst you're meant to be in jail, it doesn't mean that you can't be arrested for them.
Thank you for the clarification.
As explained in my prior post, denied and concluded.