A 14-year-old boy was rushed to hospital after being accidentally stabbed in class Monday afternoon.

Police said the incident happened around 2:20 p.m., during a woodworking shop class at Westdale Junior High.

The superintendent of Pembina Trails School Division confirmed the school, located on Betsworth Avenue in Charleswood, was locked down following the stabbing.

Monday evening, Winnipeg police tweeted the boy, who was in stable condition, had been released from hospital with minor injuries.

Earlier in the day, officers told CTV a 14-year-old boy was taken into custody in connection to the event.

Police have ruled the stabbing was not criminal in nature, but a poor choice involving horseplay. They say the two boys were close friends.

Police reported that during the class, the boys were given instructions to complete an assignment using an ‘exacto’ knife. At some point, one boy flipped the knife in the direction of the victim, striking him in the upper body.

Staff members immediately administered first aid to the victim, while the suspect was taken to another area within the school and held for police.

No charges are being pursued at this time.