PHOTO: Lisa Beckman/Twitter
Now playing
00:44
Quote on school wall takes social media by storm
dress code violation collarbone viral pkg_00000000.jpg
PHOTO: WLEX
dress code violation collarbone viral pkg_00000000.jpg
Now playing
01:24
Girl sent home for wearing this shirt
French President Emmanuel Macron takes a selfie picture with students during a visit at the high school Therese Planiole, in Loches, central France, as part of a trip to Indre-et-Loire on the theme of Education and professional training, on March 15, 2018.  / AFP PHOTO / POOL / GUILLAUME SOUVANT        (Photo credit should read GUILLAUME SOUVANT/AFP/Getty Images)
PHOTO: GUILLAUME SOUVANT/AFP/Getty Images
French President Emmanuel Macron takes a selfie picture with students during a visit at the high school Therese Planiole, in Loches, central France, as part of a trip to Indre-et-Loire on the theme of Education and professional training, on March 15, 2018. / AFP PHOTO / POOL / GUILLAUME SOUVANT (Photo credit should read GUILLAUME SOUVANT/AFP/Getty Images)
Now playing
02:26
France bans phones in primary, middle schools
mass baptism high school football field pkg_00001901.jpg
PHOTO: WSB
mass baptism high school football field pkg_00001901.jpg
Now playing
01:36
School under fire for mass baptism before football practice
lunch room employee fired free meal hungry student pkg_00013017.jpg
PHOTO: KCNC
lunch room employee fired free meal hungry student pkg_00013017.jpg
Now playing
05:32
School lunch worker fired for feeding hungry children
textbook mcgraw-hill slave worker dnt _00000419.jpg
textbook mcgraw-hill slave worker dnt _00000419.jpg
Now playing
01:54
Mom demands change in textbook
principal student headphones
PHOTO: WCBS
principal student headphones
Now playing
01:38
Police: Student beats up principal over headphones
cafeteria meal
PHOTO: Janet Ahn/CNN
cafeteria meal
Now playing
01:55
Cafeteria worker quits over student lunch debt policy (2016)
No jail time for Austin Wilkerson
PHOTO: KMGH
No jail time for Austin Wilkerson
Now playing
01:29
Former CU student's sex assault sentence questioned
texas student safe after trapped in safe_00000216.jpg
PHOTO: KABB /WOAI
texas student safe after trapped in safe_00000216.jpg
Now playing
00:57
Student trapped in a safe, fire crews drill air holes
massachusetts teacher raped killed chism trial pkg_00010616.jpg
PHOTO: WCVB
massachusetts teacher raped killed chism trial pkg_00010616.jpg
Now playing
01:10
Video shows teacher's last steps before being killed
transgender student bathroom support rally dnt_00011714.jpg
transgender student bathroom support rally dnt_00011714.jpg
Now playing
01:38
Crowd rallies in support of transgender student
(CNN) —  

A Houston school has removed a quote popularized by a former New York madam after social media controversy over the saying, which was posted in a hallway above school lockers, according to CNN affiliate KTRK.

The quote: “The more you act like a lady, the more he’ll act like a gentleman.”

The decal letters were taken down Saturday, school district officials told KTRK.

The saying had been on a wall above lockers in Gregory-Lincoln Education Center for the Performing and Visual Arts for five years, according to KTRK, but it was removed after a mother posted an image of the quote to social media.

Some saw it as sexist or misogynistic. Some saw it as a way of reminding young people about respect.

“It’s perpetuating horrible gender stereotypes, shaming women, and relinquishing boys of all responsibility. It’s sexist, mysogonistic, and discriminatory!” Lisa H. Beckman, who first shared the image of the quote, wrote on Twitter Friday.

Beckman told CNN Saturday that her children attend school in the Houston Independent School District but not the school where the quote was displayed. She saw the photo on a friend’s Facebook page and asked permission to share it.

“As soon as I saw it I was outraged,” she said.

Beckman said the quote perpetuates a “misogynistic society.”

“It’s a bigger problem than just a quote on a wall, it’s how women in this country are treated,” Beckman said. “My goal by posting it to Twitter was to get the school to take it down before any other children saw it.”

Beckman said the school the quote was taken down within 10 hours of her tweeting the photo Friday.

Other Twitter users also reacted.

“Why would that be disgusting? I think it’s true in BOTH senses. If you act more like a gentleman, she will act more like a lady. This is to say- if you show nobility, more people will follow suit. I believe people are looking too much into this and CREATING an issue,” Michael Waters tweeted.

A famed former New York madam said she used the quote to guide her “girls” in the 1980s.

The quote has been attributed to Sydney Biddle Barrows, whose arrest in 1984 was national news because of her upscale clients inspired a made-for-TV movie starring Candice Bergen.

In an 1987 interview with the Sydney Morning Herald, Barrows, a descendant of two passengers of the Mayflower and who came to be known in media as “the Mayflower Madam,” said she would tell her workers the quote was a “basic rule that you should always keep in mind.”

The quote was on a wall of the Gregory-Lincoln PK-5 Education Center, according to the Houston Independent School District.

CNN reached out to Gregory-Lincoln school, a combined elementary and middle school, for comment but didn’t get an immediate response.

CNN’s Amir Vera, Gisela Crespo and Sal Sendik contributed to this report.