 He's actually falsely accused of defiling a holy part of the temple. So there's a riot, and he's arrested. The Romans have soldiers stationed there to keep order. Paul is a Roman citizen, so he has legal rights that most people don't have.