A written sworn factual declaration delivered under oath or affirmation is known as an affidavit.