Sharon Gless installment, by Loretta Swit. Swit, like Foster, was chosen as Cagney because, though the character of Cagney had been created with Gless herself in mind, she was unavailable for the pilot or the first seven installments of the first season.) In 1991, she married the series' executive producer, Barney Rosenzweig, who speaks in his book "Cagney & Lacey...and Me" about wanting Sharon Gless from the beginning and Gless being unavailable due to her contract with Universal. Rosenzweig created the 1990–1992 CBS drama series "The Trials of Rosie O'Neill" for Gless and, uncredited, played the only partially seen psychiatrist to whom
Tyne Daly which ran from 1999 to 2005. Addressing a conference of the National Association of Social Workers in 2000, Daly said she had learned from social workers and social work texts to improve her portrayal of her character, and she added: "I take from you because you are the ones dealing with all the bad institutions of our society: institutionalized poverty, institutionalized racism, institutionalized cynicism." Daly appeared in a made-for-TV movie for Lifetime in 2003 titled "Undercover Christmas," as Anne Cunningham. She played the role of a traditional mother and peacemaker at Christmas time in a wealthy family of lawyers, who