A person is guilty of intimidating a victim or witness in the first degree when, other than in the course of that criminal transaction or immediate flight therefrom, he:
1. Intentionally causes serious physical injury to another person for the purpose of obstructing, delaying, preventing or impeding the communication by such other person or another person of information relating to a criminal transaction to any court, grand jury, prosecutor, police officer or peace officer or for the purpose of compelling such other person or another person to swear falsely; or2. Intentionally causes serious physical injury to another person on account of such other person or another person having communicated information relating to a criminal transaction to any court, grand jury, prosecutor, police officer or peace officer. Intimidating a victim or witness in the first degree is a class B felony.