to someone's credit

Prepositional phrase

 * 1) In such a way that someone deserves praise.