A boy who shot a teenager twice in the head outside of a middle school in Utah was sentenced indefinitely to a juvenile facility Monday.
The 15-year-old had pled guilty to first-degree felony attempted murder and several weapons charges, reports The Salt Lake Tribune.
He will now serve in a juvenile care facility, likely until he is 21, where he can receive schooling and counseling.
RELATED: Seattle Pacific University Shooter Sentenced to 112 Years
The shooting occurred on Oct. 25, 2016 outside of Union Middle School in Sandy, Utah.
The boy, then 14, met a Hillcrest High School student, then 15, for a fight on the north end of campus as class was letting out. The two teens were reportedly fighting over a girl and the shooter had instigated much of the fight on social media before that day.
The 14-year-old shot the 15-year old in the head, then shot him again in the head after the victim had fallen to the ground. The shooter then attempted to fire his weapon one more time but the gun jammed.
The victim suffered a bullet wound on the right side of his skull with an exit wound on top of his head and a gunshot wound on the left side of his neck with an exit wound in his left cheek.
Immediately after the shooting the boy was arrested and has been in juvenile detention ever since. Prosecutors, who initially sought to move the case to the adult prison system, said they will recommend that the teen serve beyond the minimum possible sentence.
The victim, who prefers not to be identified, was in court. His attorney says he is still recovering physically and mentally from the shooting.