(AP) – A robbery suspect who surrendered after a standoff Tuesday could face a felony charge for allegedly shooting and injuring a police dog that chased him, police said.

The 22-year-old Joplin man surrendered peacefully after more than three hours in an abandoned shed surrounded by police, spokesman Lt. Geoff Jones said. A handgun and cash from the robbery were recovered from the suspect.

Police said the suspect initially fled when officers responded about 2:30 a.m. to a reported robbery at a Buffalo Wild Wings restaurant.

Officer Gabe Allen released his dog, Cezar, and chased the man, who fired two shots at his pursuers, police said. One of the bullets hit the dog in the head.

Cezar, a 7-year-old German Shepherd, was struck above the right eye and fractured his skull in a few places, said Officer Travis Walthall, supervisor of the K-9 unit. The dog died Tuesday night at an animal hospital.

Cezar had been with the department since 2001.

After the shooting, police from nearby Webb City and Duquesne and Jasper County sheriff’s deputies joined Joplin police in surrounding the area and searching for the suspect.

The suspect was spotted in an abandoned shed around 7:30 a.m., Jones said.

Police used a bullhorn to talk with the suspect, whose mother also came to the scene and talked to him. He surrendered at about 10:45 a.m., Jones said.

Police said the suspect was in jail awaiting the filing of charges that could include first-degree robbery and a felony count of killing or disabling a police dog.

Buffalo Wild Wings is located at 430 S. Geneva Ave. near the Northpark Mall.