Bolibar
In 1812 Spain, the Marquis of Bolibar is executed after conspiring to help allied forces retake his occupied town; fate intervenes when distracted Hessian officers unwittingly transmit the dead Marquis's exact signal codes, allowing the allies to capture it.