ALBANY, Pa. (CBS) — The Berks County Sheriff’s Department is mourning the loss of a fellow K-9 deputy who was shot and killed while serving an arrest warrant.

The incident happened at about 6:30 p.m. Wednesday on Pine Swamp Road in Albany Township.

READ MORE: Atlantic City Casinos, Union Workers Reach Tentative Agreement To Avoid Strike

According to investigators, law enforcement officials were serving an arrest warrant to 25-year-old Matthew Connor on numerous charges stemming from an incident that occurred on Monday.

As officers were talking to Connor’s girlfriend at the residence, Connor ran out the back of the house and into the woods.

Officers followed Connor into the woods and k-9 Deputy Kyle Pagerly, 28, encountered Connor, who was armed with an AK-47. Connor was ordered to drop the weapon, but did not and an exchange of gunfire ensued.

READ MORE: CBS3 Mysteries: Philadelphia Mother Makes Powerful Plea To Help Find James Walke's Killer

Connor was shot and pronounced dead at the scene.

Pagerly was air-lifted to Lehigh Valley Hospital, where he succumbed to his injuries.

According to the department’s web site, Pagerly was a Reading native and an Army Sergeant who served in Kosovo and Iraq before joining the Berks County Sheriffs Department in 2006. He graduated Philadelphia Police K-9 Academy in 2009.

Pennsylvania Governor Tom Corbett ordered state flags at the Capitol and state buildings in Berks County lowered to half-staff in honor of the fallen deputy who leaves behind a wife who is pregnant with their first child.

The incident remains under investigation.

MORE NEWS: Philadelphia Police Increasing Patrols Ahead Of Fourth Of July Weekend