SAN MARCOS, Texas – Funeral arrangements have been announced for the San Marcos police officer who was shot and killed on Monday afternoon.

Officer Kenneth Copeland, 58, was serving a search warrant for Stewart Thomas Mettz in the El Camino subdivision when the shootout began.

San Marcos Police Chief Chase Stapp described the incident as “an ambush type of situation, and Officer Copeland was struck several times.”

RELATED: Suspect in fatal San Marcos police shooting identified 

Mettz survived with a gunshot wound and is currently in a hospital. Neighbors said they were surprised to learn that Mettz was involved in the shooting.

Copeland was a 19-year veteran with the San Marcos Police Department and was the department’s first officer to die in the line of duty. He leaves behind a wife and four kids.

The visitation for Copeland will be held on Tuesday, Dec. 12 at the Thomason Funeral Home on 2001 Old Ranch Road 12 in San Marcos. The public is invited to attend from 2 to 10 p.m.

The funeral will be at 11 a.m. on Wednesday, Dec. 13 at the Community Bible Church on 2477 Texas Loop 1604 in San Antonio.

Donations can be made to the family by making checks payable to the San Marcos Citizen’s Police Academy Alumni Association. The memo line should be Ken Copeland. The checks can be dropped off or mailed to the San Marcos Police Department at 2300 South Interstate 35, San Marcos, Texas 78666.