Bensalem Police arrested a mother for prostitution and police said some of the acts were committed with her young son in the same room.
Catherine Thomas was arraigned Monday evening and has been charged with prostitution and child endangerment.
Investigators said Thomas locked her 7-year-old son in a shower stall during some acts and he even witnessed others.
"At times, he was kept underneath a table with a kind of dog cage in front of him, a dog separator, where sometimes he would witness her engaging in her act with the Johns," Bensalem Director of Public Safety Fred Harran said.
A tip call led investigators to the Mall Motel in Bensalem where they conducted an undercover operation.
"The officers discovered the 7-year-old boy, she places him in the shower stall, which was deplorable, where he sat there playing with toys," Harran said. "In 23 years on the job here, that's probably one of the most despicable things I've seen."
Thomas reportedly lived in the hotel for the past three months.
"Garbage, dirty underwear, food, a bathroom that I'm not so sure I would let one of my dogs go in," Harran said.
As part of the investigation, detectives interviewed the young boy.
"One of the things that he had made comment to that he would have to ask God for forgiveness what he saw what his mother did," Harran said.
"Now he's in the custody with Bucks County Children Youth and hopefully they can find some good placement for him and give this kid a fighting chance because with her, he probably didn't stand a chance."
Thomas is being held on $20,000 bail.