A man who allegedly shot the mother of his child Tuesday in San Pedro was arrested a short time later holding their baby, police said.

Officers responded to the shooting shortly before 9 a.m., when the woman ran into the Harbor Interfaith Services family shelter in the 600 block of 10th Street and told workers she had been shot, said Tahia Hayslet, executive director of Harbor Interfaith.

“She ran into our office for safety. She is a neighbor from a few houses down,” Hayslet said. “She said she had been shot. We didn’t ask any questions. We just called 911.”

The woman did not have her baby with her.

Paramedics arrived, treated the woman and took her to a hospital.

Los Angeles police spokesman Sal Ramirez said the woman was shot in the arm.

Detective Kimberly Porter said the shooting occurred during an argument. It was not clear where the baby was at the time. After the woman fled to Harbor Interfaith, the man ran outside with the child and was arrested as police officers arrived.

Harbor Interfaith is a nonprofit organization that assists the homeless and working poor with support, including shelter, transitional housing, food, job placement, advocacy, child care, education and life-skills training.

“She probably knew we help people,” Hayslet said.