A judge in Fort Bend County ruled Children's Protective Services will be given temporary custody of several children found alone in a Rosenberg motel room.
Police said they found four children alone in a room at the Woodland Inn motel after receiving a 911 call late Monday evening.
The children's mother, Sarah Gonzalez, is facing charges of child abandonment.
Wearing a green jail jumpsuit, Gonzalez, 25, appeared before a judge during Tuesday's emergency custody hearing.
CPS workers testified Gonzalez, her boyfriend and five of her six children had been living in that motel for the past two weeks, paying $45 a day in rent.
Gonzalez and her boyfriend testified they made ends meet with "side jobs" and about $1,000 a month in food stamps.
Police said at the time the children were found Gonzalez said she had gone to a fast food restaurant to grab the kids something to eat.
CPS workers testified that while four children were found in the motel room, a fifth child was with Gonzalez's boyfriend at a relative's house.
The children range in age from 6 months old to 9 years old.
The court also sought to establish paternity of all of Gonzalez' children.
CPS workers testified Gonzalez's boyfriend is the father of one of her children and possibly two others.
A judge ordered paternity testing for the children.
Another man appeared in court and said he was the father of one of Gonzalez's children.
CPS workers testified a third man, who is in prison, is the father of another one of Gonzalez's children.
CPS workers also testified Gonzalez's sixth child was with their father in Wharton at the time she was arrested.
CPS workers said they plan to check in on that child, but at this time do not plan to seek temporary custody of the 7-year-old.