"banged to rights"

I understand it to be a term used by police/criminals but what does "banged to rights" actually mean and where does it come from?

Replies