A 13-year-old boy at Notre Dame High School in Ottawa has been taken to hospital with serious injuries after he became pinned by a closing motorized partition wall in the gymnasium.

Paramedics said they were called to the scene at 12:23 p.m. Thursday and found teachers attending to the Grade 7 student, who was unconscious.

Paramedics said the boy had become trapped by a partition that separates two sections of the gym.

Notre Dame High School

Ottawa police are investigating after a student at Notre Dame High School became pinned by a partition wall in the school's gymnasium. (Julie Ireton/CBC)

Advanced life-saving procedures resuscitated the boy, who had regained a pulse and was breathing when paramedics took him to a pediatric trauma centre.

The teen suffered serious chest and abdominal injuries and was in critical condition when he arrived at the Children's Hospital of Eastern Ontario. His parents were now with him at the hospital, according to the Ottawa Catholic School Board.

Students at the school were sent home after the incident. The school board said they emailed families of grade 7 and 8 students and said guidance counsellors will be talking Thursday night with students who witnessed the incident.

"The Ottawa Catholic School Board community will continue to support the student’s family and the school population while we all pray for his speedy recovery," wrote school board spokeswoman Mardi de Kemp in an email.

The Ontario Ministry of Labour has taken over the investigation, according to Ottawa police.