Jesus Lopez pleaded guilty to manufacture of a controlled substance, possession of a controlled substance, endangering a child, and manufacture or delivery of a controlled substance more than four grams.
According to an arrest affidavit, Wichita Falls police found the baby crawling on the floor of the motel room Lopez was staying in with the child's mother.
Police say they found one box containing meth and two lock boxes under the bed that the child could get to.
Copyright 2016 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.