Facebook and Shonda Rhimes won honors during GLAAD's final installment of its 2012 Media Awards in San Francisco on Saturday.

Dianna Agron, who plays Quinn Fabray on the Fox musical-comedy Glee, hosted the event.

Rhimes, the creator and executive producer of the ABC medical drama Grey's Anatomy, was presented with the group's Golden Gate Award, which is presented to a media professional who, through his or her work, has increased the visibility and understanding of the LGBT community.

Brittany McMillan, the high school student who started Spirit Day in 2010, presented Facebook with a Special Recognition Award. The award recognizes the company's “strong stand and leadership around bullying prevention as well as its inclusive options for LGBT users,” the group said.

“Facebook has set the bar for ensuring LGBT people have a safe space to connect with friends and family,” GLAAD President Herndon Graddick, said in a statement. “GLAAD is pleased to present this award to Facebook in recognition of its efforts to make their platform welcoming to everyone.”

The Voice alum Beverly McClellan performed at the show.

Guests included Rita Moreno, Adam Pally, Sean Maher, Shay Mitchell, Jack Antonoff and Thomas Roberts.