NEW YORK (AP) — Hundreds of people have paid tribute to a New York City police officer shot and killed while sitting inside her police vehicle last week.

A portrait of slain New York police officer Miosotis Familia is placed on a podium before a tribute in her honor at the New York police department’s 46th Precinct in the Bronx borough of New York, Saturday, July 8, 2017. Familia was shot to death early Wednesday, ambushed inside her command post by an ex-convict, who was later killed after pulling a gun on police. (AP Photo/Craig Ruttle)

The gathering Saturday night included colleagues of Police Officer Miosotis Familia and many from the Bronx neighborhood where she worked.

Police officers and members of the community gather near the New York Police Department’s 46th Precinct during a tribute to police officer Miosotis Familia in the Bronx borough of New York, Saturday, July 8, 2017. Familia was shot to death early Wednesday, ambushed inside her command post by an ex-convict, who was later killed after pulling a gun on police. (AP Photo/Craig Ruttle)

Police say a deranged man shot through the window just early Wednesday morning. Officer Miosotis Familia was struck in the head. Soon after, officers fatally shot the gunman after they say he drew a weapon on them.

Flower bouquets lined the sidewalk outside Familia’s 46th Precinct stationhouse.

Police officers and community members release balloons during a vigil in front of the New York Police Department’s 46th Precinct during a tribute to police officer Miosotis Familia in the Bronx borough of New York, Saturday, July 8, 2017. Familia was shot to death early Wednesday, ambushed inside her command post by an ex-convict, who was later killed after pulling a gun on police. (AP Photo/Craig Ruttle)

Familia’s sister, Adriana Sanchez, thanked those who attended the gathering. She said her sister always volunteered to work as much as she could.

The slain officer is survived by three children, including 12-year-old twins.