A person is guilty of perjury in the first degree when the person swears falsely and when the false statement consists of testimony and is material to the action, proceeding or matter in which it is made.
Perjury in the first degree is a class D felony.