SEAFORD - Friends, family and colleagues said their final farewells today to the off-duty ATF agent who was killed trying to stop a pharmacy robbery in Seaford.

Thousands of mourners gathered at St. William the Abbot Church in Seaford for Special Agent John Capano's funeral service.

Capano, 51, was a victim of a friendly fire shooting during a robbery at Charlie's Family Pharmacy on New Year's Eve. He was shot by a retired Nassau County lieutenant who was also trying to stop the robbery along with an off-duty NYPD officer.

Today, police officers came from as far away as Virginia, Maryland and throughout the tri-state area to honor the veteran agent. Attorney General Eric Holder, Nassau County District Attorney Kathleen Rice, Legislator Dave Denenberg (D-Merrick) and County Executive Steve Bellone (D-Suffolk) were all in attendance.

Fellow ATF agents say that Capano was always a giving person.

"What John epitomized is all of federal law enforcement, all of ATF going into the face of danger to protect innocent citizens out there," says ATF Agent Mike Campbell.

As Capano's widow, Dori, and his children followed the casket, buglers played Taps, and as a final salute, eight helicopters did a flyover.

Capano was laid to rest at St. Charles Cemetery in Farmingdale.

To contribute to a memorial fund set up to assist Capano's family:

John Capano Memorial Fundc/o Federal Drug Agents Foundation380 North BroadwayJericho, NY 11753

For Chopper 12 footage of ATF Agent John Capano's funeral procession, go to your digital cable box and select iO Extra on Ch. 612.

Cops probe possible friendly fire in death of ATF agentPolice: Suspect, ATF agent killed in Seaford pharmacy robberyPolice identify suspect killed in Seaford pharmacy robbery