(CNN) — A teacher accidentally discharged a firearm while teaching a public safety class, injuring three students at a Northern California school on Tuesday, police said.

Dennis Alexander, who is Seaside City’s mayor pro tem and a reserve officer with the Sand City Police Department, was teaching a gun safety lesson for his administration of justice class at Seaside High School in Seaside, California when he pointed his gun into the ceiling and accidentally fired it, said Abdul Pridgen, the city’s police chief.

Three students were injured by debris, including a 17-year-old who sustained moderate injuries when bullet fragments lodged in his neck.

The student’s injuries appeared superficial and were not life threatening, police said.

Alexander has been placed on administrative leave from his teaching job, a spokesperson with the Monterey Peninsula Unified School District said.

“I think a lot of questions on parents’ minds are, why a teacher would be pointing a loaded firearm at the ceiling in front of students,” Superintendent PK Diffenbaugh told CNN affiliate KSBW. “Clearly in this incident protocols were not followed.”

It’s unclear why the teacher was displaying the firearm.

The shooting comes a day before students and teachers across the country participate on walk out to honor the 17 people killed at Stoneman Douglas and call for stricter gun control laws.

The student’s father Fermin Gonzales said he understands that it was an accident but said that “somebody could have died.”

“It’s just so crazy, I can’t believe it,” he said.

Gonzales said Tuesday’s incident changed his views about President Donald Trump’s recent proposal to arm teachers.

“I was kinda leaning toward having armed people in school in case something happened. After today, I get why people say there should be no guns in schools,” Gonzales said.

“If there’s an accident — people could die. If it’s just one, that’s more than enough,” he added.

Guns in schools are illegal in California but there is an exception for peace officers or those granted specific permission.

The-CNN-Wire™ & © 2020 Cable News Network, Inc., a Time Warner Company. All rights reserved.