wordhistories.net
the military origin of the adjective ‘last-ditch’
UK, 1845: made as a last desperate attempt—from the 18th-century phrase ‘to die in the last ditch’, ‘ditch’ denoting a defensive entrenchment