idiom
down to the wire
hasta el último momento; cerca de la fecha límite
Meaning
until the very last moment; close to the deadline
Example
The game went **down to the wire**, but they won in the end.
El partido se decidió en el último momento, pero al final ganaron.