At the eleventh (11th) hour

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