The Last Castle (2001)

A court-martialed General rallies together twelve hundred inmates to rise against a corrupt and sadistic warden.