on oath

idiom

Definition of on oath

law
: having made a formal promise to tell the truth in a court of law