A gunman who led police on a wild car chase and standoff that ended when he shot himself and two others at a Long Beach home remained in grave condition Saturday, as the hunt for a second suspect not involved in the shooting continued, police said.

Around 9:40 a.m., officers began chasing a stolen Volkswagen Passat on the 105 Freeway wanted in connection with a robbery, according to the Los Angeles Police Department.

During the pursuit, one suspect got out of the car and allegedly fired shots at the occupants of a burgundy Dodge Durango. The occupants got out of the car and were unharmed.

A second suspect fled in the Passat and is still on the loose.

Officers followed the SUV into Long Beach, where the driver crashed at Maine Avenue and Wardlow Road in Long Beach and went into a home in the 3300 block of Daisy Avenue.

The gunman shot two of the four occupants inside the home multiple times, according to the LAPD.

"He entered the residence, stabbed the patriarch of the house and shot two of the sons in the house," Lt. John Jenal of the LAPD said. A third son was able to escape through a window and was unharmed.

Upon hearing shots fired, LAPD entered the home and found the gunman, who appeared to be injured from a self-inflicting gunshot wound to the head.

The suspect was transported to a hospital in grave condition. The father and son were released from the hospital after one of the family members suffered a laceration to the face, LAPD said. The other son remains in the hospital in stable condition.

Other members of the family were not home at the time. The mother and sisters were vacationing in the Philippines when they received word via a phone call of the terrifying situation.

All of the family members are expected to survive, officials said.