If you commit a violent crime in Ysbilia, there are only two ways to be released from prison: Feet first or as a cannon fodder for the Guard. Ir is up to you.