A mass shooting left four dead and four others injured on Saturday after a gunman opened fire at a home and a business in Jonesboro, Ark., before later dying of a self-inflicted gunshot wound.

Police identified 40-year-old Porfirio Hernandez as the shooter, and said he had been recently released from a mental health treatment facility.

Hernandez first killed a 31-year-old man and a 12-year-old girl and injured several others at home where a family gathering or party was taking place, the Associated Press reports. He then moved on to a nearby business, where he shot another 31-year-old man to death.

Authorities say they Hernandez knew his victims, though a motive is unclear. It also wasn’t clear how he had obtained a weapon, as a former mental health patient.

The injured included a 10-year-old boy and a 8-year-old boy, who were in critical condition at a local children’s hospital on Saturday, the Arkansas Democrat-Gazette reports.

Hernandez was found dead in his vehicle later on Saturday, police said.

[AP]

Write to Nolan Feeney at nolan.feeney@time.com.