I remember being told that the origin of the saying went back to the days of footpads, and highwaymen. Apparently Hull and Halifax were the two towns in that area where you got the hardest punishment from the magistrates for breaking the law. Up to, and including, hanging.
Giok