The Center for Reproductive Rights, a national group that defends abortion rights, filed a class action lawsuit over Texas’ new sonogram bill U.S. District Court on Wednesday.

The group asserts that the bill violates the First Amendment rights to speech of both the doctor and the patient by requiring the doctor “deliver politically motivated communications to the woman, regardless of their wishes.”

“This law is patronizing to women in Texas. It is based on outdated stereotypes that women are too immature or too incompetent to make important decisions,” said Nancy Northup, president of the Center for Reproductive Rights. “It’s as if the politician has charged into the doctor’s office and told the woman, ‘Honey, you just don’t understand what you are doing. Let me explain it to you and tell you what to do.’”

Gov. Rick Perry signed the controversial sonogram bill, which was one of his emergency items that he placed on the legislative fast track, late last month.

It creates a series of requirements that doctors must fulfill before performing an abortion, including showing the mother a sonogram of the fetus, describing the physical characteristics of the fetus in common language and playing the sound of the fetus’ heart beat.