ABC News February 20, 2019

Officers mourn NYPD detective slain by friendly fire: 'Brian lived to protect all New Yorkers'

WATCH: Officers mourn detective slain by friendly fire

Grieving officers of the New York Police Department gathered Wednesday at an emotional funeral for Detective Brian Simonsen who was killed by friendly fire while responding to a robbery last week.

New York City Police Department via AP
Det. Brian Simonsen is seen in this undated file photo.

Simonsen, 42, and his partner "made the decision to move toward the danger" at a Queens T-Mobile store on Feb. 12, Police Commissioner James O’Neill told the mourners at Wednesday's funeral. "They did so because people needed them. They did so because they make tough decisions others are unable or unwilling to make. They did so because they are NYPD cops."

Simonsen, a detective, was "exceedingly good at his job," O'Neill said.

"After these crimes, victims who were once confident find themselves suddenly afraid. There is a loss of trust, a loss of belief in their fellow human beings," he said. "But Brian was always able to walk into the most chaotic of situations and calm things down – really communicate and reach people."

"Being an NYPD cop is what Brian dedicated his life to for 18 years, 11 months and 12 days," spending his entire career at the 102nd Precinct, O’Neill said.

The fallen detective lived on Long Island but drove nearly 70 miles each way so he could work in Queens.

"He fell in love with his community, and the community fell in love with him," O’Neill said.

(MORE: What we know about NYPD detective Brian Simonsen, who was slain in friendly fire)

Simonsen is survived by his mother, Linda, and his wife, Leanne, a nurse.

Simonsen "faced several heartaches as a teenager" when his dad and sister died months apart, said his cousin and fellow NYPD officer Sean Peterson. But Simonsen immediately became a "rock" to support his family, said Peterson.

After meeting his wife, a Chicago native, in Las Vegas, "Brian knew he had found the one," said Peterson, and she became the "missing piece of the puzzle that completed Brian's life."

Drew Angerer/Getty Images
Leanne Simonsen, wife of fallen NYPD Detective Brian Simonsen, is escorted by officers as her late husband's remains are carried out of the church following his funeral service at the Church of St. Rosalie, Feb. 20, 2019 in Hampton Bays, N.Y.
Drew Angerer/Getty Images
Leanne Simonsen, wife of fallen NYPD Detective Brian Simonsen receives a flag after her late husband's remains were carried out of the church following his funeral service at the Church of St. Rosalie, Feb. 20, 2019 in Hampton Bays, N.Y.

"To Leanne and Linda, and to all of Brian’s loved ones, know this: Our family is your family," O'Neill said.

To the officers gathered in the pews, O'Neill urged them to never "forget why you chose to become police officers ... never forget that Brian lived to protect all New Yorkers, and his legacy protects us still."

Mark Lennihan/AP
A limousine that is part of the funeral procession for Det. Brian Simonsen, is parked in front of the Church of St. Rosalie in Hampton Bays, N.Y., Feb. 20, 2019.
Mark Lennihan/AP
A limousine that is part of the funeral procession for Det. Brian Simonsen, is parked in front of the Church of St. Rosalie in Hampton Bays, N.Y., Feb. 20, 2019.

Simonsen was his precinct's union delegate and attended a union meeting on the day of his death, authorities said. He decided to respond to the call in Queens even though he didn't have to, authorities said.

In a chaotic scene at the T-Mobile store that unfolded within seconds, seven officers shot 42 rounds, authorities said. The officer who responded with Simonsen was shot and injured.

Two suspects are in custody. The suspects' weapon was an imitation gun, authorities said.

(MORE: NYPD detective killed, another wounded responding to armed robbery in Queens)
Drew Angerer/Getty Images
Police officers salute as the remains of fallen NYPD Detective Brian Simonsen are carried toward a Hearse following his funeral service at the Church of St. Rosalie, Feb. 20, 2019, in Hampton Bays, N.Y.

"All of the police officers at that tragic shooting will carry their grief with them for the rest of their lives," O'Neill said, adding, "Those cops responded to a call for help. They did not hesitate. And they are not to blame."

"The two people responsible for Brian’s death -- the only two -- are the career criminals who decided to go to that store on Tuesday night and commit an armed robbery," O'Neill said, his voice shaking.

New York City Mayor Bill de Blasio also spoke at the emotional service.

Drew Angerer/Getty Images
Officers line up on Montauk Highway as the funeral procession of fallen NYPD Detective Brian Simonsen leaves the Church of St. Rosalie, Feb. 20, 2019, in Hampton Bays, N.Y.

"I hope all New Yorkers and all Americans look at this example ... of all the goodness that a police officer can bring to a community," he said.

"Even after this tragedy Brian kept giving back, still taking care of others. He wanted to be an organ donor to make sure he could continue to save lives and he did," the mayor said.

He continued, "We have lost one of our very best. We will never forget him."

ABC News' Aaron Katersky contributed to this report.