SACRAMENTO, Calif. (AP) — A second suspect arrested Tuesday in connection with the mass shooting that killed six people in Sacramento had posted a live Facebook video of himself brandishing a handgun hours before gunfire erupted, a law enforcement official told The Associated Press.

Smiley Martin, 27, who is the brother of the first suspect taken into custody, was arrested while hospitalized with serious injuries from the gunfire in California’s capital.

Authorities are trying to determine whether the weapon seen in the video was used in the shooting, said the official, who was briefed on the investigation but could not discuss details publicly and spoke to AP on condition of anonymity.

Smiley Martin has a criminal history dating to 2013. He was released on probation from state prison in February after serving about half of a 10-year sentence for punching a girlfriend, dragging her from her home by her hair and whipping her with a belt, prosecutors have said.

Martin might have been released sooner, but a Parole Board rejected his bid for early release in May after prosecutors said the 2017 felony assault along with convictions for possessing an assault weapon and thefts posed “a significant, unreasonable risk of safety to the community.”

Martin “clearly has little regard for human life and the law,” and has displayed a pattern of criminal behavior from the time he was 18, a Sacramento County deputy district attorney wrote in a letter last year to the Board of Parole Hearings.

Smiley Martin will be booked for possession of a firearm by a prohibited person and possession of a machine gun when his condition improves enough for him to be jailed, a police statement said. A stolen handgun found at the crime scene had been converted to a weapon capable of automatic gunfire.

It wasn’t clear if Smiley Martin had an attorney who could speak on his behalf.

Police on Monday announced the arrest of his brother, Dandrae Martin, 26, as a “related suspect” on charges of assault with a deadly weapon and being a convict carrying a loaded gun. His first court appearance was set for Tuesday.

District Attorney Anne Marie Schubert noted that Dandrae Martin was not arrested on suspicion of homicide, but suggested investigators were making progress.

“The investigation is highly complex involving many witnesses, videos of numerous types and significant physical evidence,” Schubert said in a statement. “This is an ongoing investigation and we anticipate more arrests in this case.”

Dandrae Martin, who was held without bail, was freed from an Arizona prison in 2020 after serving just over 18 months for violating probation in separate cases involving marijuana possession and aggravated assault.

Investigators believe the brothers possessed stolen guns and are working to review financial documents, call records and social media messages to determine how and when they procured weapons, the official said. Authorities have searched several locations in connection with the shooting and the firearms investigation.