Talk about a dramatic last-second decision.