Updated

The “Big Bang Theory” had a big legal victory on Tuesday.

A Southern District of New York judge granted a motion to dismiss a lawsuit against Warner Bros. and Chuck Lorre Productions that claimed the lyrics of the show's often-sung “Soft Kitty” rhyme infringed on a copyright.

Warner Bros. and Chuck Lorre Productions were initially sued back in 2015 over the rhyme sung to Jim Parsons’ Sheldon character. The suit was brought on by Ellen Newlin Chase and Margaret Chase Perry, the daughters of Edith Newlin, a former nursery school teacher, who died in 2004.

Newlin’s daughters claimed the song featured on “The Big Bang Theory” used the lyrics their mother wrote and published in the 1937 compilation “Songs for the Nursery School.”

The judge stated in a ruling on Tuesday that the lawsuit should be dismissed because Newlin’s daughters “have failed to establish that they own a valid copyright as necessary to state a copyright infringement claim.”

On “The Big Bang Theory,” the cast sings “Soft Kitty” at times to calm a neurotic Sheldon when he is need of comfort. Parson's character has claimed his mother used to sing the song to him when he was sick as a child.