The principal and founder of a charter school in Baton Rouge, Louisiana, was suspended after he allegedly locked a 5-year-old child in a closet to punish her for “being bad.” It was the twelfth day of school.

The principal of a Baton Rouge charter school is accused of punishing a 5-year-old girl by locking her into a school closet where she said spiders and roaches crawled over her, according to police.

Shafeeq Syid Shamsid-Deen, the principal and founder of Laurel Oaks Charter School, at 440 N. Foster Drive, is wanted on counts of cruelty to a juvenile — a felony — and false imprisonment, according to an arrest warrant issued Monday by Baton Rouge police.

Police say Shamsid-Deen, of 999 N. 9th St., has been in touch with authorities through his attorney, but as of early Wednesday night, he had not been booked.

In a statement, the chairman of the school’s board of directors said Wednesday that Shamsid-Dean has been suspended pending its own investigation.

According to the warrant, a teacher heard a child screaming and crying inside the school Aug. 22. After two other teachers joined in the search, the 5-year-old girl was found inside a closet in the school’s cafeteria. The closet was locked from the outside.

No one was around the closet when the teacher found the child locked inside it, police said.

The child told investigators that Shamsid-Dean, 31, told her to “go into the closet with the spiders, and if she screamed, he would turn the lights off,” the warrant says. The child also said the closet “stinks” and “it has spiders and roaches in it that crawl on her.”

The child told investigators she had been in the closet a long time so she started screaming.

The kindergartener said that Shamsid-Deen “puts her in the closet when she is bad,” according to the warrant.

Aug. 22 was the 12th day of the school year. The girl was just starting kindergarten at a school where kindergarten is the earliest grade.

One of the teachers who found the child told police that she was “weeping hysterically” when they opened the closet door. The closet contained paint, other supplies, and a small chair that appeared to have been placed there recently because of its cleanliness, police said.

When one of the teachers emailed Shamsid-Deen with objections about the punishment, he responded that the school “will work to make sure we have a proper time-out area for scholars to reset in the cafeteria,” the warrant says.

The principal is a graduate of the Teach for America program. The chairman of the school’s board of directors is also a TFA alum.