Chinese Democracy was Guns N' Roses' first new album in 17 years
A US blogger who leaked part of Guns N' Roses' latest album has been ordered to appear in an anti-piracy commercial.
Kevin Cogill was also sentenced in a Los Angeles court to a year's probation and two months of home confinement.
Cogill admitted copyright infringement last year after posting nine songs from the Chinese Democracy album online.
His public service announcement for the Recording Industry Association of America is expected to air during the Grammy Awards next January.
Cogill had faced a maximum of one year in federal prison, a $100,000 (£61,000) fine and five years' probation.
He apologised for his actions in court on Tuesday, saying he had not meant any harm by posting the tracks on the Antiquiet website.
"I never intended to hurt the artist," Cogill told Judge Paul L Abrams.
"I intended to promote the artist because I'm a fan."
His lawyer argued against a prison term, saying Cogill had lost his job as a result of the case.
Chinese Democracy, Guns N' Roses' first new album in 17 years, was released last November, costing more than $13m (£7.9m) to record.