One of the two children who were wounded Monday morning during an apparent murder-suicide at an elementary school in San Bernardino has died, officials confirmed.

Student Jonathan Martinez, 8, was airlifted to Loma Linda Medical Center after the shooting where he later died from his injuries, police said.

Police responded to North Park Elementary School, located at 5378 N. H St., at 10:27 a.m. after receiving reports of an active shooter on campus, according to San Bernardino City Unified School District spokeswoman Maria Garcia. Police said the children were not the gunman's targets.

Click through the gallery below for more on this story:

22 PHOTOS Shooting at San Bernardino elementary school See Gallery Shooting at San Bernardino elementary school SAN BERNARDINO, CA - APRIL 10: SWAT officers help evacuate children to awaiting school buses after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: Evacuated students and teachers gather on the playground after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: Evacuated children hold hands on the playground after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: A SWAT officer stands guard with evacuated children on the playground after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: A woman is tended to as she sits on the back of an ambulance after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: SWAT officers walk through the playground after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: A San Bernardino Police officer puts up crime scene tape after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: Evacuated children hold hands on the playground after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: San Bernardino police offers stand guard at North Park Elementary School following a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Police officers stand guard at North Park Elementary School following a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Summer Terrell hugs her daughter kindergartener Jaylah James,5, after being reunited with her at Cajon High School hours after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California.The students at North Park were evacuated by bus to the Cajon High School to be reunited with parents. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: San Bernardino police offers stand guard at North Park Elementary School following a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Police offers stand guard at North Park Elementary School following a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Police officers seal off North Park Elementary School following a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: North Park Elementary School appears vacant after a shooting on campus on April 10, 2017 in San Bernardino, California. Two people died, including the suspected shooter, and two children were wounded in the apparent murder-suicide attack. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Children high five on their way to be reunited with parents at Cajon High School after a school shooting at North Park Elementary School left three people dead on April 10, 2017 in San Bernardino, California. (Photo by Rick Loomis/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: Parents are reunited with their kids at Cajon High School after a school shooting at North Park Elementary School left three people dead on April 10, 2017 in San Bernardino, California. (Photo by Rick Loomis/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: North Park Elementary School students and parents are reunited at Cajon High School after a shooting at their school on April 10, 2017 in San Bernardino, California. In what appears to be a murder-suicide, a teacher and the shooter, her husband, both died at the scene. An 8 year old boy died later at the hospital and another child is in stable condition. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: Parents are reunited with their children who were evacuated hours after a shooting inside North Park Elementary School on April 10, 2017 in San Bernardino, California.The students at North Park were evacuated by bus to Cajon High School to be reunited with parents. (Photo by Gina Ferazzi/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: Children high five on their way to be reunited with parents at Cajon High School after a school shooting at North Park Elementary School left three people dead on April 10, 2017 in San Bernardino, California. (Photo by Rick Loomis/Los Angeles Times via Getty Images) SAN BERNARDINO, CA - APRIL 10: North Park Elementary School students and parents are reunited at Cajon High School after a shooting at their school on April 10, 2017 in San Bernardino, California. In what appears to be a murder-suicide, a teacher and the shooter, her husband, both died at the scene. An 8 year old boy died later at the hospital and another child is in stable condition. (Photo by David McNew/Getty Images) SAN BERNARDINO, CA - APRIL 10: North Park Elementary School students and parents are reunited at Cajon High School after a shooting at their school on April 10, 2017 in San Bernardino, California. In what appears to be a murder-suicide, a teacher and the shooter, her husband, both died at the scene. An 8 year old boy died later at the hospital and another child is in stable condition. (Photo by David McNew/Getty Images) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

Responding officers found the suspected gunman, Cedric Anderson, and a female teacher dead in a classroom, as well as the two injured students, according to San Bernardino Police Department Chief Jarrod Burguan. Police said the teacher was Anderson's wife, Karen Smith.

Suspect in shooting identified as Cedric Anderson, age 53, resident of Riverside, CA. pic.twitter.com/H9YYQZvZud — San Bernardino PD (@SanBernardinoPD) April 10, 2017

Officials said the children were standing behind their teacher when Anderson allegedly opened fire on his wife.

The second injured student remains in critical condition.

A motive for the shooting was not immediately known.

This story originally appeared on KTLA 5

RELATED: Shooting at San Bernardino Elementary School