Today’s idiom: down to the wire
Meaning: until the last possible moment
Origin: In horse racing, before the advent of cameras, a wire or thread was drawn across the finish so that it would be easy to determine who had won. Again, it’s unclear when the phrase came about exactly, but there was an article written in 1889 that used the phrase.
Source: world wide words.