granting immunity

definition: an act exempting someone
example:
speech part: noun
synonyms: exemption

How granting immunity is being used?