A flintlock key gun, early 19th century.Such weapons were usually carried by jail and prison guards.