After two people were killed in a shooting at a classroom in a San Bernardino elementary school on Monday, the city's bishop is praying for the victims and the school community.

"I'm praying for the victims&entire school community after today's tragic shooting@NorthPark Elem.May God console us in this time of sorrow," Bishop Gerald Barnes of San Bernardino tweeted April 10.

A gunman opened fire this morning in a classroom of North Park Elementary School. Police have said the two victims are adults, a woman and the suspected shooter, and that two students are in critical condition.

The police chief Jarrod Burguan said the incident is suspected to be a "murder-suicide" attempt, the BBC reports.

There have been several shootings at schools in the United States in recent years.

In December 2013 an individual opened fire at Arapahoe High School in the Denver suburb of Centennial, and in December 2012 a gunman killed 20 children and six adult staff members at Sandy Hook Elementary School in Newtown, Conn., as well as his mother and himself.

San Bernardino is also the site of a December 2015 mass shooting in which a couple killed 14 and wounded 21 others at a social services facility.