Singer Michael Jackson was found innocent on all 10 charges of mistreating a child.
This timeline looks back over the events leading up to and including the trial.
Jury clears Michael Jackson on all charges
The jury are sent out to consider their verdict.
Former child star Macaulay Culkin told the court that Michael Jackson did not hurt him when he was 13 years old. Home Alone star Culkin, now 24, also told the court that although he shared a bed with the singer any allegations of abuse were "absolutely ridiculous".
The boy who has accused Michael Jackson of mistreating him admits telling a former teacher that the singer had done nothing to him.
Michael Jackson is more than an hour late for court after being taken to hospital with back problems. He eventually arrives at the court looking frail and wearing pyjama trousers.
Michael Jackson's trial begins in California.
Michael Jackson is taken to hospital with flu, delaying the trial by a week.
Michael Jackson outside court in the US
Police have another look inside Michael Jackson's Neverland home.
The start date for the trial is delayed until 1 January 2005.
A judge decides the trial will being on 13 September.
Michael Jackson pleads not guilty to 10 charges of hurting a child.
It's decided that Michael Jackson must stand trial.
Michael Jackson pleads not guilty.
Michael Jackson's Neverland home
Charges made against Michael Jackson
Michael Jackson arrested by police then freed, but only after giving them $3m as bail, which he would lose if he tried to run away.
Michael Jackson's house searched by police.