NEW YORK (AP) — A man accused of fatally stabbing a woman in a Massachusetts apartment and then fleeing with his four children and their mother was arrested Wednesday by police, who said the siblings and their mother were in good health and apparently had not been taken against their will.

Rodlyn Petitbois was arrested as he walked down a Brooklyn street; his children and their mother were found safe sitting under a tree in that borough's Prospect Park, police said.

State police in Massachusetts and New York had issued Amber Alerts for the children, who range in age from 11 months to 3 years, and authorities had said they believed Petitbois was extremely dangerous and possibly armed. The children's mother was not believed to be an accomplice, New York City police said.

Essex District Attorney Jonathan Blodgett said authorities believe there was a "social" relationship between the family and Greenland Etienne, 33, who was found in an apartment with stab wounds to her face, and was pronounced dead a short time later at a hospital.