The play, which took place at the Wilshire Ebell Theatre, was written by Academy Award-winning screenwriter Dustin Lance Black, who also wrote the story for "Milk."
The playwright said his goal is to show that marriage is a basic constitutional right and same-sex couples should have the right to marry.
The play includes dialogue based on the transcripts from the trial.
"You can say all you want to the media, you can talk on television and say what you want, but in a court of law, you raise your hand and you've got to tell the truth," said Rob Reiner, who directed the production. "When the truth came out, it was very clear that there is absolutely no reason why a gay person shouldn't have the same rights as everyone else."
"We kind of came here all for the same reason," said actor Matthew Morrison, who also was in the production. "We're all equals today and no one was bigger than the other person. We were all here for this amazing cause."
The show served as a fundraiser for same-sex marriage efforts across the country.