Federal prosecutors struck out Friday when an appellate court held evidence linking baseball great Barry Bonds to steroid use was hearsay and can’t be used to convict him of perjury.

The 2-1 ruling upheld a 2009 decision by U.S. District Judge Susan Illston, who refused to admit testimony by James Valente, former vice president of the Bay Area Laboratory Cooperative.