SACRAMENTO, Calif. — The suspect in a California home-invasion robbery that left four people dead, including the gunman, was a paroled gang member suspected in a separate shooting earlier that day, police said Monday.

Police identified 26-year-old Xue Lor as the suspect who fatally shot three people and critically wounded another before he was fatally shot during the attack in Sacramento around 10:30 p.m. Saturday.

Robbery appears to be the motive behind the killings, officials said.

Investigators believe Lor demanded money from the victims before he opened fire, killing a husband and wife who lived there, as well as a male guest identified as 33-year-old Lee Doua Cha.

Lor was shot by the dead couple's son, said Officer Michele Gigante, a Sacramento police spokeswoman. The son was not injured and is not under arrest, she said.

Investigators say Lor has been identified as the suspect in a separate shooting 18 hours earlier. A 22-year-old man sustained a non-life threatening gunshot wound after Lor opened fire on the victim's vehicle. The victim's 2-year-old daughter was inside at the time but was not injured.

Police described Lor as a parolee subject to high supervision who was released after serving time on gun possession charges.

Lor was sent to state prison in 2009 to serve a nearly five-year Sacramento County sentence for possessing a firearm as an ex-felon, according to the California Department of Corrections and Rehabilitation. He was sentenced to eight months in 2010 in neighboring Yolo County for possessing a stolen vehicle.

Records show he was returned to prison for six months on a parole violation in 2011 before he was paroled for the final time in October 2011.

Sacramento County records show he was sentenced to a year in jail after pleading no contest to felony vehicle theft and fleeing and eluding a police officer in 2006. A year earlier, he was jailed for receiving a stolen vehicle and obstructing a peace officer.

Gigante said police were investigating whether gang connections by other members of the victim family played a role in what police initially described as a home invasion.

The husband was known in the Hmong community as a shaman, or faith healer, said Su Vang, who often acts as a spokesman for the Hmong community in Sacramento.

Many Hmong migrated to the United States following the Vietnam War, after members of the Asian ethnic minority group fought alongside Americans in the secret war in Laos. Sacramento is home to 27,000 people of Hmong descent, behind Fresno with 32,000 and the Minneapolis-St. Paul area with 64,000, according to the 2010 census.

The Sacramento County coroner's office would not immediately name the husband and wife who were killed in the home because relatives had not been officially notified of their deaths.

There were no signs of forced entry, but the gunman entered the home and opened fire before he was confronted by the couple's son, Gigante said. Crime scene investigators were observed carrying a half-dozen rifles from the home and putting them in a police van.

The surviving victim remained in critical but stable condition Monday with a gunshot wound to the upper body, Gigante said.

Police were asking members of the public who may have information about the shooting to contact them.

Also on HuffPost: