Yankees pitcher Andy Pettitte testified in the perjury trial of Roger Clemens on Tuesday, remembering how his longtime friend had told him that he used human growth hormone.

Pettitte's anticipated appearance came almost 10 months after a judge declared a mistrial in the first go-round of the Clemens case.

Clemens, who racked up 354 wins in 24 major league seasons, is on trial for allegedly lying about taking performance-enhancing drugs during testimony to Congress in 2008.

During his testimony Tuesday, recounted by The New York Times, Pettitte said Clemens admitted to him in 1999 or 2000 that he used HGH.

Pettitte -- who has also copped to using the drug -- said Clemens accused him seven years ago of not remembering their conversation correctly, saying it was Clemens' wife who had used HGH and not the pitcher.

U.S. District Court Judge Reggie Walton declared a mistrial in the case last July 14 after the prosecution presented evidence he deemed inadmissible.

The evidence was video footage showing a congressman reading an affidavit from Pettitte's wife which corroborated the pitcher's claims that Clemens discussed the use of HGH with him.

Prosecutors were given permission by Walton in September to again put Clemens on trial.

Pettitte, who retired last year after 16 major league seasons, is attempting a comeback after re-signing with the Yankees in March. His appearance on Tuesday came during the third day of testimony in the re-trial.