John acquitted himself well in the witness-box.
John exonerated himself well in the witness-box.