The Duke of Sussex gave evidence on Wednesday during the trial against the Daily Mail's publisher.