Updated

Courtroom cameras captured a 28-year-old waiter extending his middle finger toward a prosecutor during the Casey Anthony murder trial, and the man was promptly sentenced to six days in jail.

Matthew Bartlett also was ordered to pay a $400 fine after he was photographed making the obscene gesture toward prosecutor Jeff Ashton on Thursday.

Bartlett, who had been watching the trial from the courtroom gallery, was immediately escorted out by deputies and was brought back inside to face Judge Belvin Perry once the jury was sent home for the day. He was assigned a public defender.

Bartlett apologized for his actions during a brief hearing and was then sentenced by Perry. He was taken to jail by deputies.

Perry says Bartlett will have six months to pay his fine.