A student, dubbed a "Good Samaritan," was injured while trying to stop a knife attack during a brawl among Kelly Walsh High School students on Dec. 12, according to court records.

That morning, police responded to a call about a large fight at Eighth and Walsh streets, which was not school property.

Witnesses identified a young male, born in 1999, holding a knife while fighting with other juveniles, according to an affidavit accompanying a search warrant filed in Natrona County Circuit Court on Friday.

The young male -- referred to as "K.W." in the redacted affidavit -- was seen trying to stab another student.

Meanwhile, another student approached K.W. from behind and grabbed him in a bear hug to try to stop him, according to the affidavit.

"W was observed to then stab down and backwards in an apparent attempt to dislodge or injure the male grabbing him," according to the affidavit. "The male attempting to be (a) Good Samaritan was cut with the knife in the abdomen but the injury was not life threatening."

W then ran away from the area when police arrived and threw the knife over a fence near Walsh and Dorset streets. The knife was a folding "Buck" style knife with a wooden handle and a 3-inch to 4-inch blade.

Police recovered the knife and found W near Walsh and Dorset streets. W appeared to be covered in blood and he was taken to the police station at the Hall of Justice downtown for questioning, according to the affidavit.

W had an iPhone. Police obtained the search warrant to examine the phone for its GPS component and messages to further investigate what they believe is a probable aggravated assault. The search warrant also allowed police to retrieve clothing and collect biological evidence.