The death of Raniya Wright, the 10-year-old girl who collapsed after a fight at her South Carolina elementary school a month ago, was caused by a medical condition she was born with, officials said Friday.

According to a study by forensic pathologists at the Medical University of South Carolina, Raniya had a condition called arteriovenous malformation, a tangle of abnormal blood vessels in the brain, and died after one of them ruptured.

There was no sign that the fight contributed to her death, said Duffie Stone, a county prosecutor, who said he would not be filing criminal charges.

The death of Raniya, a fifth grader, caused an outpouring of grief and made national headlines, with her parents and many others demanding answers for how an elementary school could have allowed a fight to lead to a child’s death.