A New York Police Department officer and mother of three is being remembered at a funeral this morning, six days after she was gunned down in a marked police command vehicle.

Officer Miosotis Familia, 48 and a 12-year veteran, "died a patriot," New York City Mayor Bill de Blasio said at the service today.

"She was killed solely because she wore a uniform," he said. "She was murdered while acting as an agent of peace."

Officer Miosotis Familia, a 12-year veteran assigned to the New York City Police Department's 46th Precinct's Anti-Crime unit, was fatally shot, July 4, 2017.(NYPD) Officer Miosotis Familia, a 12-year veteran assigned to the New York City Police Department's 46th Precinct's Anti-Crime unit, was fatally shot, July 4, 2017.
The family of New York City Police Department (NYPD) officer Miosotis Familia hug during her funeral at the World Changers Church in the Bronx borough of New York City, July 11, 2017.  (Richard Drew/Pool/Reuters) The family of New York City Police Department (NYPD) officer Miosotis Familia hug during her funeral at the World Changers Church in the Bronx borough of New York City, July 11, 2017.

Familia was sitting and writing in her memo book when she was shot and killed early July 5 in The Bronx. The gunman fled on foot and was shot and killed by police.

The slain officer is survived by three children, a 20-year-old and 12-year-old twins, according to ABC station WABC-TV in New York.

The casket of fallen NYPD Officer Miosotis Familia is brought outside of a Bronx church after she was shot and killed last week in what police have called "an unprovoked attack" in the Bronx, on July 11, 2017, in New York City. Thousands of police officers from around the country have joined local politicians and community leaders for the funeral of Officer Familia, 48, who was shot last Wednesday as she sat in an NYPD mobile command vehicle at 183rd St. and Creston Ave. in Fordham Heights. (Spencer Platt/Getty Images) The casket of fallen NYPD Officer Miosotis Familia is brought outside of a Bronx church after she was shot and killed last week in what police have called "an unprovoked attack" in the Bronx, on July 11, 2017, in New York City. Thousands of police officers from around the country have joined local politicians and community leaders for the funeral of Officer Familia, 48, who was shot last Wednesday as she sat in an NYPD mobile command vehicle at 183rd St. and Creston Ave. in Fordham Heights.

Rev. Barbara Williams-Harris, a chaplain with the NYPD, said at the service it's important to lift up her family, the family of blood and the family of blue.

De Blasio said at the service, "We're here to lay a hero to rest, but we have to remember the many ways she was a hero. In her service to this city, and her love for her family and all she did for everyone she came across in life."

Police from Los Angeles stand outside of a Bronx church during the funeral for NYPD Officer Miosotis Familia, who was shot and killed last week in what police have called "an unprovoked attack" in the Bronx, on July 11, 2017, in New York City. Thousands of police officers from around the country have joined local politicians and community leaders for the funeral of Officer Familia, 48, who was shot last Wednesday as she sat in an NYPD mobile command vehicle at 183rd St. and Creston Ave. in Fordham Heights.  (Spencer Platt/Getty Images) Police from Los Angeles stand outside of a Bronx church during the funeral for NYPD Officer Miosotis Familia, who was shot and killed last week in what police have called "an unprovoked attack" in the Bronx, on July 11, 2017, in New York City. Thousands of police officers from around the country have joined local politicians and community leaders for the funeral of Officer Familia, 48, who was shot last Wednesday as she sat in an NYPD mobile command vehicle at 183rd St. and Creston Ave. in Fordham Heights.

Familia died hours after July 4. The mayor said, "She died the night her nation was born. And she died a patriot, defending all of us."

"Back in 1776 it was farmers and craftsmen [who] put on a uniform to fight for freedom," the mayor said. "Centuries later, in that same spirit, [it] was Miosotis Familia who put on a uniform."

She "died for all of us," he said.

Police officers line up outside the funeral of slain New York Police Department (NYPD) Officer, Miosotis Familia, outside of the World Changers Church in the Bronx, New York, July 11, 2017. Officer Familia, who was a 48-year-old mother of three, was shot while sitting in her patrol car in the Bronx; her assailant was killed by police after the attack.  (Justin Lane/EPA) Police officers line up outside the funeral of slain New York Police Department (NYPD) Officer, Miosotis Familia, outside of the World Changers Church in the Bronx, New York, July 11, 2017. Officer Familia, who was a 48-year-old mother of three, was shot while sitting in her patrol car in the Bronx; her assailant was killed by police after the attack.
Rabbi Alvin Kass, NYPD Chief of Rabbis, speaks during the funeral for New York City Police Officer Miosotis Familia, at the World Changers Church, in The Bronx borough of New York, July 11, 2017. The slain officer, a mother of three children, was writing in her memo book last Wednesday when a man walked up to the police vehicle where she was sitting and fired. (Richard Drew/Pool/AP) Rabbi Alvin Kass, NYPD Chief of Rabbis, speaks during the funeral for New York City Police Officer Miosotis Familia, at the World Changers Church, in The Bronx borough of New York, July 11, 2017. The slain officer, a mother of three children, was writing in her memo book last Wednesday when a man walked up to the police vehicle where she was sitting and fired.

NYPD Commissioner James O’Neill’s voice quivered as he delivered an impassioned eulogy at the service. He addressed Familia's children directly, saying, “Nothing I can say will bring your mom back. I’m sorry for that. But I can make you this promise. Your mom didn’t die in vain. Your mom’s legacy will never fade from the importance of memory."

“Hate has consequences,” O’Neill said, and he called Familia’s death a “dishonor to civilized society.”

NYPD officers begin to gather for funeral services for NYPD Officer Miosotis Familia at World Changers Church in the New York City borough of the Bronx, on July 11, 2017.  Mother of three, Officer Familia was shot  while on duty in the Bronx on July 5, 2017. (Anthony Behar/Sipa USA) NYPD officers begin to gather for funeral services for NYPD Officer Miosotis Familia at World Changers Church in the New York City borough of the Bronx, on July 11, 2017. Mother of three, Officer Familia was shot while on duty in the Bronx on July 5, 2017.

He said officers like Familia made a “selfless decision” to fight crime and protect strangers, but “not one of us ever agreed to be murdered in an act of indefensible hate.”

O’Neill also took aim at protesters and the media for criticism of police officers. "Where are the demonstrations for the single mom who cared for her elderly mother and three children?" he asked to a thunderous, extended ovation from the assembled police officers at the church and on the boulevard outside. "There is anger and sorrow, but why is there no outrage?"