More than 1,000 law enforcement members paid their respects Wednesday at the memorial service for a slain Washington state sheriff’s deputy who died in the line of duty.

Deputy Daniel A. McCartney’s casket, draped in an American flag, was surrounded by saluting officers as it was carried by pall bearers into the event at Pacific Lutheran University in Tacoma.

NO BAIL FOR SUSPECT IN DEATH OF WASHINGTON SHERIFF’S DEPUTY

Mourners filled the auditorium to remember and honor McCartney, who was killed while responding to a home invasion in the Frederickson area around 11:25 p.m. on Jan. 7. McCartney was chasing two suspects when he was fatally shot. He later died at a nearby hospital.

Pierce County Sheriff Paul Pastor spoke at the service and about 1,500 law enforcement personnel and 650 patrol vehicles participated in the procession, the department said.

WOMAN ARRESTED IN CONNECTION TO WASHINGTON STATE DEPUTY’S DEATH, AUTHORITIES SAY

McCartney’s casket resided at the front of the auditorium throughout the ceremony. The flag was later folded by members of an honor guard and presented to the slain deputy’s family.

Photos of McCartney and his family, as well as some personal items, were showcased at the service. The deputy, a 34-year-old Navy veteran who joined the force in 2014, is survived by his wife and three young sons, police said.

Two people, Frank Pawul, 32, and Brenda Troyer, 52, were charged in connection to his death.

The Associated Press contributed to this report.