Oct 05, 2006 6:02 PM EST

A federal judge ordered Barry Bonds' personal trainer released from prison Thursday, saying a legal "snafu" had arisen.

U.S. District Judge William Alsup said Greg Anderson must be freed, because a federal appeals court hadn't affirmed his contempt order within the required 30 days.

Via AP