<P> Baranski was featured as Cybill Shepherd's sarcastic, hard - drinking friend Maryanne Thorpe in the CBS sitcom Cybill, which ran from 1995 until 1998, during which time she hosted Saturday Night Live and won an Emmy Award as Best Supporting Actress in a Comedy Series along with three other nominations . During this, Baranski portrayed a librarian named Sonja Umdahl in the "Dick and the Single Girl" episode of 3rd Rock from the Sun . A few years later, Baranski received an Emmy nomination for a guest starring role as an intimidating radio psychiatrist on an episode of the NBC series Frasier . She had an uncredited role in the series Now and Again as the voice of Roger's overbearing wife Ruth, who was never seen by viewers . </P> <P> Baranski later appeared in the 2000--2001 sitcom Welcome to New York and, with John Laroquette, in the 2003--2004 NBC sitcom Happy Family . She co-starred with Bernadette Peters in a pilot for an ABC sitcom, Adopted, in 2005, which was not picked up . She also played Faith Clancy, the mother of Jim Clancy in Ghost Whisperer . </P> <P> In 2009 Baranski began guest - starring in The Big Bang Theory as Dr. Beverly Hofstadter, a dispassionate psychiatrist and neuroscientist and mother of one of the protagonists, Leonard Hofstadter . She first appeared in the second - season episode "The Maternal Capacitance", for which she received an Emmy nomination . Due to the popularity of her first appearance, Baranski returned in the third season for the Christmas episode "The Maternal Congruence", receiving another Emmy nomination . As of July 2018, she has appeared in eleven more episodes . </P> <P> From 2009 to 2016, she played the role of Diane Lockhart, a top litigator and senior partner of a Chicago law firm on the CBS series The Good Wife . She was nominated for the Primetime Emmy Award for Outstanding Supporting Actress in a Drama Series for six seasons of the series, in the years 2010 to 2015 . Besides her work on The Good Wife and the aforementioned guest appearances on The Big Bang Theory, her other recent appearances include Ugly Betty in 2009 as Victoria Hartley, the haughty mother of Betty's new boyfriend . </P>

Who plays leonard's mother on the big bang theory
find me the text answering this question