come up/turn up trumps - definition and synonyms

phrase British
  1. to do what is necessary to succeed, especially when success did not seem likely

    At the last minute, Jean came up trumps and sorted everything out.

See also main entry: trump