Why is Dodik exactly being sent into prison?

I don't really get it?