A 17-year-old is in custody after he allegedly shot four people, including a girl he was dating, in a "home invasion" in Bolingbrook, Illinois, according to police.

Three of the victims were killed in the Sunday night mass shooting, Bolingbrook police said. They were identified as: 40-year-old Cartez Daniels; an unidentified girl; and 17-year-old Samiya Shelton-Tillman, who was dating the suspect, according to police.

A 34-year-old woman was shot, survived and is in stable condition, police said.

The sole suspect, a 17-year-old boy who was dating Samiya, was "quickly identified" and taken into custody Sunday night, police said. He has not yet been formally charged, police said.

A 3-year-old boy and a 14-year-old boy were also inside the home Sunday night but were not hurt, police said.

Neighbor Ryan Hedberg told ABC News' Chicago station WLS that he heard two gunshots after coming home to the normally "quiet" neighborhood.

"Came home from dropping off my kids, hanging out inside, heard two gunshots; there was apparently more, but it's what we heard sitting inside," Hedberg said. "It's kind of weird being over here, it's usually quiet."

Bolingbrook is a suburb roughly 30 miles from Chicago with more than 73,000 residents, according to Census data. One of the wealthiest cities in the Midwest, Bolingbrook has a median household income of $97,371 and a median home value of $242,600.