PHOENIX (AP) — A Phoenix man who thought his wife was having an affair killed her, two of their young daughters and a man, police said Friday.

Austin Smith was booked on suspicion of four counts of first-degree murder, two counts of attempted first-degree murder and three counts of aggravated assault, Sgt. Tommy Thompson said.

Bail was set at $2 million, court records show. A Maricopa County Superior Court sent Smith’s case to the local public defender’s office. But no specific attorney had been assigned to him by Friday evening.

Smith, 30, was arrested Thursday evening as he drove from an apartment complex where officers had responded to a shooting. There, they found the body of 46-year-old Ron Freeman. A woman and another man were shot and wounded at the complex, Thompson said.

Police initially said that Smith thought that the man who was killed was romantically involved with his wife, but a probable cause statement later filed in court said the suspect thought it was his brother, who was not named in the document, who was having an affair with her. The victim, described as a family friend, told Smith “he was crazy” before Smith killed him.

Officers who went to Smith’s home later Thursday found his wife, 29-year-old Dasia Patterson, and their 5-year-old daughter, Nasha Smith, dead from gunshot wounds. Their 7-year-old daughter, Mayan Smith, died from apparent blunt-force trauma, and the couple’s 3-year-old daughter was found uninjured under a bed at the family’s home.

“It is my understanding that for whatever reason he elected not to shoot her,” Thompson said.

The suspect told detectives during an interview that he believed “in God’s eyes it was all right for him to deal with someone in this manner who had been involved in adultery or an extramarital affair,” Thompson said.

The court document released later in the evening described Smith punching the older daughter, throwing her to the ceiling and onto the floor, then striking the child’s head several times with a baseball bat.

Thompson described the scene at the apartment complex as chaotic, with firefighters treating victims while authorities did not initially know the shooter’s whereabouts.

Officers with a warrant searched the car Smith was driving and found a 9mm handgun, a .45 caliber handgun and a .223 caliber rifle they believe were used in the shootings, according to the probable cause statement.

__

Associated Press writer Paul Davenport contributed to this report.