MARINE PARK, Brooklyn (PIX11) — A 36-year-old mom was shot in the head in Brooklyn on Tuesday, police said.

She was rushed to the hospital in critical condition after she was shot near Avenue S and Stuart Street around 4:05 p.m., officials said. No identifying information has been released.

Police said the victim’s 1-year-old child was also taken to a hospital from the scene for an evaluation. The child was not injured.

A person of interest was quickly taken into custody, but police said early Wednesday that they were investigating whether he actually shot the woman. The NYPD has not released any identifying information about the person in custody, who was not immediately charged with a crime. A possible motive for the shooting remains unclear.

The shooting happened near a school, which went into lockdown after the gunshot rang out. Concerned parents waited outside for their children on Tuesday evening. Kids were separated from their panicked parents for hours.

“Everyone was scared because they didn’t know what was happening and they just told us that they couldn’t tell us what was happening,” said Chelsea, a middle school student.

A spokesperson for the union representing school safety agents said the shooting did not appear to be school-related.

“Coming upon the situation and seeing what was happening was very traumatic. I was very scared initially,” said Chester, a parent of a student.

Police received a number of different accounts from witnesses, officers said. They were still working to piece together exactly what happened.