The funeral for a South Carolina sheriff's deputy who was shot and killed in an ambush has started at a church in Charlotte, North Carolina.

Three officers who were also wounded in the attack attended the service Monday for York County Det. Mike Doty. The wounded officers were in their wheelchairs just in front of Doty's flag-draped coffin.

Authorities say Doty was shot Jan. 16 by Christian McCall. Investigators say McCall's wife had called 911 to report he was attacking her and then McCall took off into the woods.

Investigators say McCall shot an officer handling a police dog, then ambushed Doty and two other SWAT team members looking for him. McCall was shot and is recovering.

SWAT team members were in camouflage uniforms at Doty's funeral.