Officers in dress uniforms stood at attention as a hearse bearing the remains of Officer Brian Mulkeen arrived at a church in Monroe, New York, on Friday.
Bagpipers marched silently to the beat of a somber drum.
The white-gloved officers crisply saluted as Mulkeen's flag-draped casket was carried into the church.
Mulkeen was working with a plainclothes anti-crime unit when he and his partners encountered the armed man on Sunday.