Authorities in three states had been searching for 35-year-old Wade Andrew Williams since his parents were found dead in their home in the Florida Panhandle last week.
A man was walking in the woods Wednesday when he saw Williams near a campfire and questioned him about what he was doing. Williams shot at the man, who took cover behind a tree and was hit by shrapnel, officials said. He was not badly hurt and was able to contact authorities, who sent about 40 officers to the scene.
K-9 units tracked Williams through a remote wooded area where authorities believe he had been camping. Col. Greg Malloy, a K-9 officer who had been with department since 1988, died when he and other officers exchanged fire with Williams.
"The colonel and other officers put themselves in harm's way to apprehend this dangerous suspect," said Holmes County Sheriff Tim Brown in an e-mail statement. "My heart goes out to all his family, friends and fellow officers."
The other injured K-9 officer was in stable condition at a hospital, said Mike Morrison, spokesman for Walton County Sheriff's Office.
Authorities said they believe Williams killed his parents in Cottondale last week, though they don't know why. He then went to the Choctawhatchee River Management Area near Gritney, a rural town of mobile homes and clapboard houses on mostly dirt roads, and burned his father's truck.
They also searched Alabama and Georgia for Williams, who was released from the Tallahassee Work Release Center in August 2009. He had been sentenced to three years in prison after being convicted of several burglary and grand theft charges in 2005 and 2006.
It has already been a deadly year for law enforcement officers around the country and especially in Florida, where two St. Petersburg police officers and two Miami-Dade County detectives died in two separate shootings last month.
Associated Press writers Kelli Kennedy and Lisa Orkin Emmanuel in Miami and Brendan Farrington in Tallahassee contributed to this report.