GREENVILLE, Mich. (WOOD) — A man is in custody after he shot at cars from his home in Greenville on Wednesday, police say.

It happened around 5 p.m. in the area of Hillcrest Street and Blackburn Street. Police were called to the scene on reports of the sound of loud banging, Brian Blomstrom, the interim director for the Greenville Department of Public Safety, told News 8.

Two vehicles were hit “by random gunfire,” Blomstrom said. A person in one of the vehicles was injured by shattered glass, police say. No one else was hurt.

Officers tracked the gunfire down to a home in the area where active shooting was still happening, police say. They say they surrounded the home, and the suspect surrendered without incident.

The investigation is ongoing. Greenville DPS obtained a search warrant for the suspect’s home in order to process the scene and look for evidence. Police do not know what the suspect’s motive was.

“This was not a domestic incident. It seemed to be some sort of random deal involving himself only,” Blomstrom said.

The suspect will be arraigned in court on Thursday.

The home is near the Greenville middle school and high school. Police say the schools did not need to go into lockdown.

“We understand everyone is worried about a situation that happened on Hillcrest today,” Greenville Public Safety said in a 6:30 p.m. Facebook post. “We want the citizens to know the suspect has been apprehended.”