JACKSONVILLE, Fla. – The teenage boy who robbed a JSO officer of his guns, truck and dog will serve time in a juvenile facility following a plea agreement Thursday.

The 14-year-old boy, now 15, pleaded guilty to burglary of a dwelling and possession of cocaine. Charges of aggravated battery and aggravated assault related to the chase in a stolen truck were dropped as part of the plea agreement.

The teen already has served 308 days, most of which were spent in the Duval County Jail. He was sentenced to an additional 9-12 months in a high-risk juvenile facility.

He will also be under court supervision until he turns 21 years old. The teen is required to pay JSO Detective Paul Shaw $4,000 in restitution and write him an apology letter. He may not have contact with Shaw.

The teen will have to abide by a curfew and other conditions apply such as drug testing.

Shaw addressed the teen directly at the sentencing Thursday.

"The dog in the pictures is my dog Hemingway, who was shot in the face the night you and your friends broke into my house, stole my guns and pickup truck," Shaw said.

Authorities found the dog days later with gunshot wound to the snout. Hemingway had to have a portion of his jaw removed as a result.

The State of Florida said Thursday they could not prove the teen was the one who shot the dog.

The sentencing marked the end of a chapter for both Shaw and Hemingway. It's a chapter Shaw carries with him in his work as a burglary detective.

“Anytime anybody’s been victimized, it’s a traumatic experience," he said. "And often times I’ll tell them my story.”

While he's happy to move forward, Shaw said he's disappointed with the sentence. He said he was approached by state attorneys about the plea agreement and trusted their word that it's the best they could do. However, he said he hoped the teen would have received a stiffer sentence.

Shaw said violent crime among Jacksonville youth is spiraling out of control and something needs to be done to curb it.

“We’re seeing younger and younger kids carrying guns, we’re seeing younger and younger homicide victims," he said. “I think [the solution is] a combined effort between the Sheriff’s Office and the State Attorney’s Office.”