The tower over an oil well carries the name of an Elizabethan executioner.

Thomas Derrick served under Robert Devereux, the Earl of Essex, during the war with Spain and took part in the capture of Cádiz. Jeremy Butterfield, writing about the word, says Derrick was convicted of rape there and pardoned on condition that he become the hangman at Tyburn, London's main gallows. The Tudor Society gives the same condition. Wikipedia says instead that he was spared on condition that he execute the men convicted with him.

In 1601 the debt came due in the worst way. Essex was convicted of treason, and the man he had saved was the one sent to behead him. The Tudor Society notes that it took three blows of the axe. Wikipedia adds that Derrick, used to the rope, was unfamiliar with the axe.

Derrick was notorious enough that his surname became common slang. Dictionary.com dates derrick to about 1600, first meaning a hangman and then the gallows. Merriam-Webster says the word named both throughout the 17th century. Butterfield reports that the OED's first citation comes from a ballad of about that date lamenting Essex's death. Wikipedia credits Derrick himself with a new gallows design, a beam with a topping lift and pulleys, though that detail is harder to confirm.

The name itself is Germanic. Etymonline lists Derrick among the forms of Dietrich, a name Dutch spells Diederik, literally "folk-rule."

From gallows to machinery was a short step. A gallows is an upright with a beam and a rope, and so is a simple crane. The Saturday Evening Post dates derrick for a crane-like hoist to the 1720s. As public hangings grew rarer, the grim sense faded and the mechanical one took over.

The oil industry took the word next. From the 1860s, according to the Post, derrick meant the framework over an oil well that supports the drilling equipment. That is the sense most people know today, usually with no idea that it began on a scaffold.

Derrick was not the only English executioner to lend his name to the job. Britannica notes that for nearly two centuries after his death in 1686, the nickname of the hangman Jack Ketch was applied to all of England's executioners.