By Kelly Connolly
September 20, 2015 at 12:00 PM EDT
Phil McCarten/AP

Mom‘s Allison Janney won the award for Outstanding Supporting Actress in a Comedy Series at the Primetime Emmy Awards on Sunday night. It was her 10th Primetime Emmy Award nomination (including another 2015 nomination for Outstanding Guest Actress in a Drama Series, for her role on Masters of Sex) and seventh win. As host Andy Samberg noted in his opening monologue, this win ties Janney with Ed Asner for the all-time Emmy record for performer wins. Asner has won more Emmys for performance than any other male actor.

In her acceptance speech, Janney thanked Chuck Lorre for “creating such a deeply flawed character and immediately thinking of me to play her.” 

The actress also made sure to thank costar Anna Faris, whom Janney said is “as generous with a moment as you are with your heart.” 

Added Janney, “One serious thing: So many lives are touched by addiction and it is a privilege to work on a show that reminds us that there is hope.” 

EMMYS 2015: Red carpet arrivals | Creative Arts winnersNominees by the numbers | Nominee reactions | Quotes quiz | EW Critics weigh in | Snubs | Surprises | Burning questions answered | Live blog 

WANT MORE EW? Subscribe now to keep up with the latest in movies, television and music.

RELATED VIDEO: EW critics discuss the 2015 Emmy nominations

Janney’s fellow nominees were Niecy Nash of Getting On, Julie Bowen of Modern Family, Mayim Bialik of The Big Bang Theory, Kate McKinnon of Saturday Night Live, Gaby Hoffman of Transparent, Jane Krakowski of Unbreakable Kimmy Schmidt, and Anna Chlumsky of Veep.