immunity
noun [ U ]
uk/ɪˈmjuːnəti/ us LAW
official protection from legal action, for example, not being judged in a court or punished for a crime:
grant/give sb immunity Taken before a federal judge, he was granted immunity but ordered to testify or face punishment for contempt.
legal/judicial/diplomatic immunity