1878
CODE OF CIVIL PROCEDURE
SECTION 1878
1878. A witness is a person whose declaration under oath is received as evidence for any purpose, whether such declaration be made on oral examination, or by deposition or affidavit.