Literally snatched victory from the jaws of defeat.