Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

LOS ANGELES — The oldest of the 13 California siblings who authorities said were imprisoned by their parents was frail, smelly and picked on as a grade school student in Texas, one of her classmates said in a heart-wrenching Facebook post.

The now-29-year-old woman was rescued with her starving brothers and sisters from their home in Perris, California, on Jan. 14. Neighbors and relatives said they were unaware of the children's treatment until authorities arrested the parents and revealed what they found inside.

And now prosecutors are asking a judge to bar David Allen Turpin and Louise Anna Turpin from contacting their kids.

Taha Muntajibuddin attended kindergarten through third grade with her in Fort Worth, Texas. After learning of the case, he shared on Facebook his "overwhelming sense of guilt and shame" over how she was treated.

Related: California torture house: 13 siblings allowed to eat once a day, shower once a year

Muntajibuddin, a pediatrics resident doctor in Houston who confirmed his post to The Associated Press, described her as "a frail girl, had pin-straight hair with bangs, and often wore the same purple outfit."

He wrote that it was jarring to learn that the girl, who was teased in school for being smelly, "quite literally had to sit in her own waste because she was chained to her bed."

Related: Louise Turpin’s sister said sibling experimented with religion, sex

"It is nothing but sobering to know that the person who sat across from you at the lunch table went home to squalor and filth while you went home to a warm meal and a bedtime story," he wrote.

The post has elicited a strong reaction, with some condemning Muntajibuddin for his behavior as a child. Others praised him for addressing it.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Muntajibuddin said in an interview Tuesday that he was surprised by the reaction.

"It was just meant to be an honest lesson: take it or leave it," he said.

A pregnant Louise Anna Turpin stands next to a baby crib. Deb Jones

The AP is not naming the siblings because of the severity of abuse allegations, which are still under investigation. The AP also has not been able to talk to the children, including the 29-year-old, or anyone who can speak on their behalf.

Crowley Independent School District spokesman Anthony Kirchner confirmed Muntajibuddin and the victim attended the same school. Kirchner said he was unable to confirm when she enrolled or when she left school, or whether any of her younger siblings attended, because districts are only required to keep elementary student records for five years.

Related: California torture house where 13 starving ‘kids’ found had not been inspected, officials say

Another classmate, Stephanie Hernandez, told the AP in a Facebook message that the girl was quiet and always wore dirt-stained jeans that were too small. Hernandez said she often was bullied.

"I remember someone kind of slung her around like a rag doll," said Hernandez, a registered nurse in Mansfield, Texas.

Sheriff's deputies arrested David Turpin, 57, and Louise Turpin, 49, after their 17-year-old daughter climbed out a window and called 911. Authorities found the siblings, ages 2 to 29, in the family's filthy California home, three of whom were shackled to beds and all except the youngest child malnourished.

David Turpin, second right, and Louise Turpin, second left, appear in court for their arraignment in Riverside, California on Jan. 18, 2018. Frederic J. Brown / Pool via Reuters

The couple has pleaded not guilty to torture and other charges.

The Riverside University Health System Foundation, which is collecting money for the siblings, so far has received 1,500 donations totaling $120,000, spokeswoman Kim Trone.

People from across the world also have been sending toys, blankets and clothing, she said.

About 20 people, including nurses and psychologists, have offered to take the seven adult siblings and six minors and keep them together, said Mary Parks, a spokeswoman for the Riverside County Department of Public Social Services.

Related: California torture house: Teen who escaped overcame tremendous odds

"People from around the country are offering to foster them and adopt them," she said.

The siblings were all taken to hospitals, but Parks said she could not discuss their conditions. The agency typically seeks to place children with a relative and keep siblings together, she said.

Muntajibuddin said he is hopeful his former classmate can recover and live an enriched life.

He said despite being bullied by her peers, she "was still one of the most pleasant people I have had the opportunity to meet. She had this whimsical optimism to her that couldn't be dampened, couldn't be doused no matter what anybody threw at her."

He said he has learned from his experience and hopes others do, too.

A home where a couple was arrested after police discovered that 13 people had been held captive in filthy conditions with some shackled to beds with chains and padlocks on Jan. 15, 2018 in Perris California. Sandy Huffaker / Getty Images

"The resounding lesson here is a simple one, something that we're taught from the very beginning," Muntajibuddin wrote. "Be nice."

The Turpins will appear in court Wednesday as prosecutors ask a judge to bar them from contacting their kids.

The court proceeding is the latest step as authorities seek to sever ties between David and Louise Turpin and their 13 children. They have pleaded not guilty to torture, abuse and other charges.

Riverside County prosecutors are seeking a protective order that would prohibit the Turpins from having any contact with their children, district attorney's office spokesman John Hall said.