Smith and Wesson handguns are displayed during the 2015 NRA Annual Meeting & Exhibits on April 10, 2015 in Nashville, Tennessee.
Justin Sullivan/Getty Images
Smith and Wesson handguns are displayed during the 2015 NRA Annual Meeting & Exhibits on April 10, 2015 in Nashville, Tennessee.
Now playing
00:50
Teacher fires gun by accident, injures student
TINLEY PARK, IL - OCTOBER 18:  Pistols are offered for sale at Freddie Bear Sports on October 18, 2012 in Tinley Park, Illinois.  Facing a $267.5 million fiscal 2013 budget gap, Cook County, which includes the City of Chicago and suburbs, has proposed a tax of 5 cents per bullet and $25 on each firearm sold at gun and sporting goods stores in the county. Fred Lutger, who has owned Freddie Bear Sports for 35 years, is concerned with the impact the tax will have on his store which is located about 2 miles inside the Cook County line.  (Photo by Scott Olson/Getty Images)
Scott Olson/Getty Images North America/Getty Images
TINLEY PARK, IL - OCTOBER 18: Pistols are offered for sale at Freddie Bear Sports on October 18, 2012 in Tinley Park, Illinois. Facing a $267.5 million fiscal 2013 budget gap, Cook County, which includes the City of Chicago and suburbs, has proposed a tax of 5 cents per bullet and $25 on each firearm sold at gun and sporting goods stores in the county. Fred Lutger, who has owned Freddie Bear Sports for 35 years, is concerned with the impact the tax will have on his store which is located about 2 miles inside the Cook County line. (Photo by Scott Olson/Getty Images)
Now playing
00:47
By the numbers: Gun deaths in America
Glendale, UNITED STATES: A man chooses a gun at the Gun Gallery in Glendale, California, 18 April 2007. The massacre at Virginia Tech has ignited fresh talk in the Democratic-led US Congress about tightening US gun laws but it is doubtful enough lawmakers will tackle the politically charged issue. With so many citizens in love with their guns and defensive of their right under the Constitution to keep and bear arms, politicians are reluctant to take on gun owners or the powerful gun lobby.    AFP PHOTO/GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
GABRIEL BOUYS/AFP/AFP/Getty Images
Glendale, UNITED STATES: A man chooses a gun at the Gun Gallery in Glendale, California, 18 April 2007. The massacre at Virginia Tech has ignited fresh talk in the Democratic-led US Congress about tightening US gun laws but it is doubtful enough lawmakers will tackle the politically charged issue. With so many citizens in love with their guns and defensive of their right under the Constitution to keep and bear arms, politicians are reluctant to take on gun owners or the powerful gun lobby. AFP PHOTO/GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
Now playing
02:00
What stops the mentally ill from buying guns?
A row of rifles is seen on display at a National Rifle Association outdoor sports trade show on February 10, 2017 in Harrisburg, Pennsylvania.
The Great American Outdoor Show, a nine day event celebrating hunting, fishing and outdoor traditions, features over 1,000 exhibitors ranging from shooting manufacturers to outfitters to fishing boats and RVs, and archery to art.   / AFP / DOMINICK REUTER        (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
DOMINICK REUTER/AFP/AFP/Getty Images
A row of rifles is seen on display at a National Rifle Association outdoor sports trade show on February 10, 2017 in Harrisburg, Pennsylvania. The Great American Outdoor Show, a nine day event celebrating hunting, fishing and outdoor traditions, features over 1,000 exhibitors ranging from shooting manufacturers to outfitters to fishing boats and RVs, and archery to art. / AFP / DOMINICK REUTER (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
Now playing
01:45
The NRA used to support gun control. Here's why
McKenna Ewen
Now playing
02:15
The messages kids want you to see
Now playing
02:07
They hope you remember what they'll never forget
Carpenter Greg Zanis (C) who drove from Chicago unloads his crosses outside the First Baptist Church which was the scene of the mass shooting that killed 26 people in Sutherland Springs, Texas on November 8, 2017.
A gunman wearing all black armed with an assault rifle opened fire on a small-town Texas church during Sunday morning services, on November 5, killing 26 people and wounding 20 more in the last mass shooting to shock the United States. / AFP PHOTO / MARK RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
MARK RALSTON/AFP/AFP/Getty Images
Carpenter Greg Zanis (C) who drove from Chicago unloads his crosses outside the First Baptist Church which was the scene of the mass shooting that killed 26 people in Sutherland Springs, Texas on November 8, 2017. A gunman wearing all black armed with an assault rifle opened fire on a small-town Texas church during Sunday morning services, on November 5, killing 26 people and wounding 20 more in the last mass shooting to shock the United States. / AFP PHOTO / MARK RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
00:55
Man builds crosses for shooting victims (2017)
President Donald Trump applauds the audience after speaking at the National Rifle Association annual convention in Dallas, Friday, May 4, 2018. (AP Photo/Sue Ogrocki)
Sue Ogrocki/AP
President Donald Trump applauds the audience after speaking at the National Rifle Association annual convention in Dallas, Friday, May 4, 2018. (AP Photo/Sue Ogrocki)
Now playing
02:37
Trump's complex relationship with guns
FILE - In this June 25, 2010, file photo Britain's Prince Harry fires a Colt M4 assault riffle on a United States Military Academy range in West Point, N.Y.  The Defense Department is searching for the successor to the M4 combat rifle and gun makers are loading with lobbyists to win the work. Colt Defense of West Hartford, Conn., had an exclusive deal to provide M4s to the U.S. military and didnt need a hired gun looking out for its interests in Washington. (AP Photo/Chad Rachman, Pool, File)
Chad Rachman/POOL NEW YORK POST/ASSOCIATED PRESS
FILE - In this June 25, 2010, file photo Britain's Prince Harry fires a Colt M4 assault riffle on a United States Military Academy range in West Point, N.Y. The Defense Department is searching for the successor to the M4 combat rifle and gun makers are loading with lobbyists to win the work. Colt Defense of West Hartford, Conn., had an exclusive deal to provide M4s to the U.S. military and didnt need a hired gun looking out for its interests in Washington. (AP Photo/Chad Rachman, Pool, File)
Now playing
01:40
History of the modern assault-style rifle
CNN photo illustration
Now playing
01:58
Flaws in gun background check system cost lives
NS Slug: FL: PUBLIX DIE-IN HELD AGAINST CANDIDATE ADAM PUTNAM  Synopsis: Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix  Video Shows: - Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix by drawing chalk outlines in the parking lot and lied down for exactly 12 minutes in the store. - MSD student David Hogg called for a boycott of Publix due to them donating to gubernatorial candidate Adam Putnam, who has an "A" rating from the NRA.   Keywords: FLORIDA PUBLIX PROTEST NRA GUN SUPPORT
WSVN
NS Slug: FL: PUBLIX DIE-IN HELD AGAINST CANDIDATE ADAM PUTNAM Synopsis: Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix Video Shows: - Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix by drawing chalk outlines in the parking lot and lied down for exactly 12 minutes in the store. - MSD student David Hogg called for a boycott of Publix due to them donating to gubernatorial candidate Adam Putnam, who has an "A" rating from the NRA. Keywords: FLORIDA PUBLIX PROTEST NRA GUN SUPPORT
Now playing
01:18
Protesters hold 'die-in' at grocery store
Now playing
02:03
Activists, NRA wage ad war over gun reform
Now playing
00:57
Newtown student: This is why we're walking out
WASHINGTON, DC - JUNE 22: (AFP OUT) Ivanka Trump participates during  the American Leadership in Emerging Technology Event in the East Room of the White House June 22, 2017 in Washington, DC. (Photo by Olivier Douliery-Pool/Getty Images)
Olivier Douliery/Pool/Getty Images
WASHINGTON, DC - JUNE 22: (AFP OUT) Ivanka Trump participates during the American Leadership in Emerging Technology Event in the East Room of the White House June 22, 2017 in Washington, DC. (Photo by Olivier Douliery-Pool/Getty Images)
Now playing
01:36
Ivanka Trump: Arming teachers 'not a bad idea'
buying guns online orig nws_00003310.jpg
buying guns online orig nws_00003310.jpg
Now playing
01:55
What the law says about buying guns online
(CNN) —  

A teacher accidentally discharged a firearm while teaching a public safety class, injuring one student 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 lesson at Seaside High School in Seaside when he pointed his gun into the ceiling and accidentally fired it, said Abdul Pridgen, the city’s police chief.

A 17-year-old student was injured by a bullet fragment or by debris that fell from the ceiling, Pridgen said.

The injuries appeared superficial, 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 came a day before students and teachers across the country participated in school walkouts to honor the 17 people killed at Marjory Stoneman Douglas High School in Florida and call for stricter gun control laws.

The student’s father,7 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.