At the last minute

1. Happening at the last possible moment. The game winning run came at the last minute.