perjury
Generally, a witness in a trial commits perjury when they knowingly and intentionally lie about a material issue. The precise definition of this crime varies by jurisdiction. Federal law prohibits perjury, as well as other false declarations before federal courts . See: 18 U.S. Code Chapter 79 - Perjury .
Wex