A federal judge declared a mistrial in the perjury trial of ex-baseball all-star Roger Clemens on Thursday after jurors heard references to statements that the judge had ruled inadmissible except on rebuttal.

U.S. District Judge Reggie Walton said prosecutors should have modified a video that showed Rep. Elijah Cummings, D-Maryland, during a 2008 congressional hearing talking about a deposition from the wife of former New York Yankees player Andy Pettitte.

Clemens is accused of perjury, obstruction of Congress and making false statements about his alleged use of steroids and human growth hormone. The former all-star pitcher testified under oath before the House Oversight and Government Reform Committee in 2008 that he never used illegal performance-enhancing substances during his career.