Casey Anthony
Defendant Casey Anthony sits at the defense table at the Orange County Courthouse in Florida. Reuters/pool photo

As the defense rested its case in the murder trial of Casey Anthony, a guilty verdict was given - but not for Anthony.

A spectator, 28-year-old Matthew Bartlett, was found to be in contempt of court and ordered to serve six days in jail for extending his middle finger toward one of the prosecutors, Fox News reported.

Bartlett, who works as a server from T.G.I. Fridays, was asked by Judge Belvin Perry why he made the gesture to attorney Jeff Ashton, but Bartlett had nothing really to say for himself, except: I'm not even sure why I did it.

The display occurred after the defense rested and it was announced that the Orlando mother accused of killing her 2-year-old daughter would not be taking the witness stand. The judge appeared miffed and told Bartlett that his actions could have jeopardized the trial.

Bartlett was found guilty of direct criminal contempt and sentenced to six days in Orange County Jail, where Anthony is being held. Perry also imposed a fine of $400, along with applicable court costs.