Josh Wolf had recorded footage of a G-8 summit protest

Joshua Wolf, 24, reached a deal with prosecutors by posting online the videotape of a street rally he had refused to give to authorities.

The footage was of violent protests in San Francisco against a G-8 summit.

On 7 February, Wolf passed the 168 days Houston freelancer Vanessa Leggett served in 2001/02 on similar charges.

Fractured skull

Wolf had refused a subpoena to hand over the whole of his tape to police.

You will see, as I do, that there is nothing of value in this unpublished footage

Josh Wolf

A police car was burned and an officer suffered a fractured skull in the violence against the summit which was being held in Scotland at the time.

The video footage Wolf posted on Tuesday did not feature any criminal acts.

Wolf's lawyer Martin Garbus said: "Josh has released the videotape on his website and a copy has been sent to the district attorney. He had refused to identify anyone in the videotape."

On his website, Wolf says he repeatedly offered to allow a judge to view the unpublished footage but was refused.

"Today, you the public have the opportunity to be the judge and I am confident you will see, as I do, that there is nothing of value in this unpublished footage."

Although Californian laws protect journalists from revealing material, prosecutors successfully argued federal money helped pay for the police car, thus making it a federal case.