FILE PHOTO. Family members of a slain homeowner and Los Angeles County sheriff’s investigators congregate in front of the home where a wanted parolee allegedly engaged deputies in a shootout, killing 54-year-old Frank Mendoza on Saturday, Aug. 1, 2014. (Brian Day/SCNG)

Frank Mendoza, 54, of Pico Rivera (right), pictured with wife Lorraine Munoz, 60. Mendoza died during a shoot-out between sheriff’s deputies and a fleeing parolee as the suspect forced his way into the couple’s home. Munoz was held hostage by the suspect for more than eight hours before a SWAT team killed him and rescued her in the 9000 block of Rosehedge Drive in Pico Rivera in the early morning hours on Saturday, Aug. 2, 2014. (Courtesy of the Mendoza family)

Gabriel Orosco, of Pico Rivera, lays flowers in front if the home on the 9000-block of Rosehedge Drive in Pico Rivera on Monday August 4, 2014 in memory of the homeowner who was killed during a standoff with a suspect Friday night. The homeowner was killed by a deputy by mistake. (Photo by Keith Durflinger/Whittier Daily News)

Frank Mendoza, 54, was fatally shot Aug. 1, 2014, in the doorway of his residence in Pico Rivera. Sheriff’s deputies had descended on the house in search of an armed parolee who had been running through the neighborhood and then broke into the Mendoza home in the 9000 block of Rosehedge Drive.

“It’s the worst nightmare of any citizen where they’re under the suspicion they’re being protected by law enforcement, and instead, law enforcement ends up taking their life,” the family’s attorney, Garo Mardirossian, told reporters at a news conference announcing the settlement.

The settlement, which Mardirossian called record-setting, was announced in court papers earlier this year, but the amount of the settlement was not divulged at that time.

The lawsuit was filed in September 2015 by Mildred Mae Mendoza, the mother of the slain man; Mendoza’s wife, Lorraine Munoz; and Mendoza’s children, Jeremy Lorraine, Steven, Frank Jr. and Jason. The suit alleged negligence and battery and seeks unspecified damages.

The suspect, who was being sought by deputies the day of the shooting, 24-year-old Cedric Ramirez — an armed parolee wanted on felony warrants — was killed when a sheriff’s Special Enforcement Bureau team raided the home several hours after Mendoza was shot.

Ramirez had been spotted by deputies and a probation officer earlier in the day, but he fled on foot, sheriff’s officials said.

A short time later, deputies spotted Ramirez on the driveway of a nearby home, according to the sheriff’s department. Ramirez shot at the deputies, one of whom returned fire and may have wounded the suspect, deputies said. Ramirez then ran behind the Mendoza house in the 9000 block of Rosehedge Drive and broke in through a rear window, deputies said.

The lawsuit stated that although deputies went inside Mendoza’s home to look for Ramirez before the shooting and found Mendoza with his wife and two of his children, the lawmen left the family vulnerable when they departed, thus allowing the parolee to enter the residence.

“As a result, (Mendoza and his relatives), fearing for their lives, had no choice but to attempt to escape from their home without the assistance of the (deputies),” the suit stated.

Mendoza was shot by the deputy while he was trying to escape, the suit stated. The deputies who left the home earlier were negligent because they did not stay with Mendoza and his family or take the alternative action of evacuating them, the suit stated.

In 2014, then-Interim Sheriff John Scott addressed the Mendoza shooting, saying Ramirez fired at deputies from inside the home.

“Within seconds of those shots being fired, an individual appeared in the living room moving towards the front doorway,” Scott said. “Based on the quick movement of the individual, a deputy positioned in the front yard thought he was the suspect trying to seek a position inside the front of the home to assault other deputies located outside the window.

“Believing he was an immediate threat to his partners, the deputy fired twice, striking the man, who fell to the floor just inside the front door. Tragically, it was Mr. Mendoza,” Scott said.

Scott said the scene unfolded quickly, and deputies were making split- second decisions.

“We had three individuals come out, and there were shots being fired.” Scott said. “Within about seven seconds, the individual appeared in the doorway from the same general area as the shots that had been fired. So that was the information they were working off of. You had an individual shooting at deputies, and then you had — moments later — the individual moving across the doorway.”

Ramirez did not know the victims, according to the sheriff’s department.

The warrants for which Ramirez was wanted were for being an ex-felon in possession of a firearm and taking a vehicle without the owner’s consent, authorities said. His firearm was recovered at the location, they said.