A 15-year-old girl who texted a school shooter before he massacred 21 people has been found guilty of not reporting the planned crime.
Salvador Ramos, 18, fatally shot 19 children and two teachers at the Robb Elementary School in Uvalde, in the southern US state of Texas, on May 24 and wounded 17 others.
Now a teenager he revealed his plans to minutes before the bloodbath has admitted in court that she did nothing to try to stop him.
Ramos had reportedly told her that he had just shot his grandmother in the head and was about to "shoot up an elementary school".
The teenage girl just replied "cool" and did not alert the police, according to German media.
It was only after she saw media reports about the shooting that she asked another pal in the US what had happened.
The unnamed teen appeared in court in a closed session wearing a dark hoodie pulled over her face as she walked into the Frankfurt District Court on October 25.
Judges found the girl guilty and ordered her to attend a non-custodial re-education programme.
The sentence cannot be appealed, according to local media.
The Robb Elementary School massacre took place in the small Texas town of Uvalde and shocked the world.
The gunman was eventually shot dead by the police, but only after they waited 45 minutes in the school corridor for reinforcements.
Meanwhile, Ramos was in a classroom with terrified pupils and teachers.
The school district police chief, Pete Arredondo, was fired in August after the Uvalde school board voted unanimously to terminate his contract, and all district officers were placed on temporary leave in early October.
The police response and conduct during the shooting have been widely condemned.
The Texas Department of Public Safety said that before tactical units arrived, police officers inside the school, who numbered at least 19, made "no effort" to breach the room where Ramos was located.
Many of the investigations into the response to the shooting are still ongoing.
CNN reported that Ryan Kindell, a member of the elite Texas Rangers unit, has been suspended and is being investigated for his alleged inaction during the shooting.
In the wake of the shooting, the entire school district police force was suspended.
In a statement, the Uvalde Consolidated Independent School District wrote: "Recent developments have uncovered additional concerns with department operations.
"As a result of the developments, Lt Miguel Hernandez and Ken Mueller have been placed on administrative leave.
"The District has made the decision to suspend all activities of the Uvalde CISD Police Department for a period of time.
"Officers currently employed will fill other roles in the district. Ken Mueller has elected to retire."
It is not clear how long the department suspension will last.
The school district said it requested additional officers from the Texas Department of Public Safety to provide campus security.