SELDEN - Thousands of family members, friends, police officers and firefighters gathered in Selden today to say their final farewells to a Nassau County cop killed by friendly fire.

A member of the elite Bureau of Special Operations and a volunteer firefighter, Geoffrey Breitkopf was killed Saturday night after being shot by an MTA officer while responding to a crime scene in Massapequa Park.

Cops say Breitkopf was in plain clothes and carrying a rifle when he arrived at a home where officers had shot and killed a knife-wielding man minutes earlier. Investigators say the MTA officer fired his weapon after a retired cop yelled out "he's got a gun" as Breitkopf walked by.

Breitkopf's funeral services were held at St. Margaret of Scotland Roman Catholic Church. The Nassau PBA says the retired officer who allegedly yelled "gun" at the shooting scene voluntarily turned in his weapon yesterday.

Extended video of funeral procession for officer BreitkopfPolice probe shooting death of Nassau County copPolice: Nassau cop was accidentally shot by MTA officerOfficer dies in Massapequa Park shooting