That is horrible! It sounds like story from Kazachstan or Africa. I hope your friend is better now.
And maximal imprisonment without conviction here is 1 year. Not so popular ex-politician was held for 18 months on corruption charges and it was national scandal.
* normal crime (under 4 years) such as less violent robbery, bar fight... 1 year
* violent crime with death or permanent injury (around 8 years sentence) 2 years
* 4 years in exceptional violent cases (over 15 years or life-time sentence).
There is also condition that trial must start within first 1/3 of time period.