Follow CBSDFW.COM: Facebook | Twitter

NEW YORK (CBSDFW.COM/AP) — Hundreds of police officers lined Fifth Avenue in Manhattan for a farewell salute to a former colleague who was gunned down in North Texas.

READ MORE: US Department Of Labor Awards $2.6M To Provide Texas Military Members, Spouses Jobs

The life of David Hofer, an officer with the Euless Police Department, was celebrated Monday at a memorial Mass in St. Patrick’s Cathedral. Several thousand mourners — including NYPD officers in dress uniform — prayed before his cremated remains.

Hofer’s mother, father and fiancée followed behind Monsignor Robert Ritchie in the procession to the Cathedral. During the service the Monsignor told those in attendance, “Police officers are men and women who know the dangers of the street, the dangers of crazy people, the dangers of evil people, the dangers of things happening without anybody planning them.”

Officer Hofer was on March 1 after being dispatched to J.A. Carr Park, responding a call about a suspicious person and possible shots fired.

In what the Euless PD Chief Mike Brown called an ambush, Hofer was shot as he approached the suspect, who was shot and killed when responding officers returned fire.

READ MORE: North Texas COVID Patient Gets Motorcycle Escort Home After Being Released From Hospital

Officer Hofer had five years of experience as a New York City police officer, with the 9th Precinct, before coming to North Texas two years ago. A fiancée, Marta Danylyk, parents and two siblings survive the 29-year-old.

Officer Hofer is only the second officer to die in the line of duty in Euless.

It was just this past weekend when North Texans joined first-responders lining the streets to Pennington Field in Euless for a public “celebration of life” memorial for Hofer.

With American flags abounded, the sound of bagpipes filled the air. “It’s a sad, sad day for the city of Euless, Texas, and its citizens,” the Euless Police Department chaplain said. “We come before you today stunned by the events of this past week. This has been a reminder that the cost of safety in a free society comes at high price. Sometimes we don’t learn until we start to lose things, that evil lurks everywhere, and David stood strong against evil.”

Along with Police Chief Brown, Hofer’s father and fiancée also spoke at the North Texas memorial.

MORE NEWS: $680K+ In Cocaine And Methamphetamine Seized At Texas-Mexico Border

(©2016 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)