at the last moment
Al fin y al cabo, en el último momento él también la dejará.
In the end, he'll leave her too at the last minute.
— Ирония судьбы, или С легким паром! (1976)
Mi determinación desapareció en el último momento.
My determination vanished at the last moment.
Ella se echó atrás en el último momento.
She backed out at the last minute.
Se le ocurrió una buena idea en el último momento.
He had a good idea at the last minute.
Tom llegó al aeropuerto justo en el último momento.
Tom arrived at the airport just at the last minute.
Iba a estudiar medicina pero cambió de opinión en el último momento.
She was going to study medicine but changed her mind at the last minute.
Mejor cancelarlo ahora que en el último momento.
It's better to cancel it now than at the last minute.
— Dolor y gloria (2019)