Officers were investigating a grisly triple-homicide in northwest Modesto that left a woman and two young children dead, police said Sunday.

Police were called to the 1600 block of Bay Meadows Drive just after 7 p.m. Saturday when a caller reported an assault, according to the Modesto Police Department.

When they arrived, they found the bodies of a 30-year-old woman, a 9-year-old boy and a 4-year-old boy in the home, police said. Names of the victims were not immediately released.

“Detectives are in the beginning stages of an extensive investigation. The events that transpired before the murders, as well as the cause of deaths, remain under investigation and will not be released at this time,” police said in a statement.

A 28-year-old man was found in front of the home with injuries police believe to be self-inflicted, and he was taken to the hospital for treatment, police reported.

Police encourage anyone with information on the case to call Crime Stoppers at (209) 521-4636.

Filipa Ioannou is a San Francisco Chronicle staff writer. Email: Twitter: @obioannoukenobi