FORT WORTH, Texas (AP) — A judge has ruled a 16-year-old boy arrested in the death of a 14-year-old girl whose body was found in a North Texas landfill will be tried as an adult.

The decision came after a nearly four-hour court hearing Wednesday in Fort Worth.

READ MORE: Dallas Hospital Sets Up Special Rooms To Help Teens Dealing With Mental Health Issues

Frank Alder, the teenager’s attorney, told state District Judge Tim Menikos the teen would be held more accountable in a juvenile facility if he was found guilty.

Police in Bedford allege the teen used a hammer to kill Kaytlynn Cargill.

READ MORE: Texas House Set To Debate Elections Bill

Kaytlynn Cargill (photo courtesy: Facebook)

She had been reported missing in June after she didn’t return to her Bedford home from walking her dog. A waste collection worker found her body two days later in an Arlington landfill.

Police found in the boy’s possession a hammer with blood on it.

MORE NEWS: Trucker Shortage Causes Concern Over Gas Supply

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)