A Harris County man is accused of making a child live in filthy and dangerous conditions.

Keith Lamar Thomas, 20, was charged with endangering a child.

According to court documents, the child, who is described as being younger than 15 years old, slept on trash with roaches around the area.

Investigators said Thomas left a shotgun in an area accessible to the child and he also failed to properly feed the child.

Thomas was arrested Monday and his bail was set at $2,000.