A silver hearse carried the body of agent John Capano to a church in Seaford, on Long Island.
Thousands of law enforcement officers stood at attention as it passed Friday. Pipers played "Amazing Grace."
Attorney General Eric Holder spoke at the service. He called Capano "a true patriot" who possessed "extraordinary courage."
Capano was killed Saturday while struggling with a robbery suspect. The fatal shot was fired by a retired police lieutenant who had also rushed to the scene alongside an off-duty police officer.
Capano's older brother, James, asked mourners to pray for them, too, saying they had also been trying to stop a crime.
CLICK HERE TO SEE PHOTOS FROM THE FUNERAL ---
Federal Drug Agents Foundation
380 North Broadway
Jericho, NY 11753
Get Eyewitness News Delivered