Why was Paul in prison?

Why was Paul in prison?