Teacher shot in the leg with pellet gun during preschool graduation ceremony in Huntington Beach

A preschool graduation celebration in Huntington Beach took a frightening turn Tuesday when a teacher was shot in the leg by what police believe was a pellet gun.

Teachers, parents and students were enjoying a drive-through year-end parade around 11:35 a.m. at Oak View Preschool at 17131 Emerald Lane when a teacher "felt something in her leg and saw a little bit of blood," said Huntington Beach Police Department Officer Angela Bennett.

Get breaking news alerts in the FOX 11 News app. Download for iOS or Android.

Right around the same time, some parents reportedly heard someone yell "shut up" from a vehicle, believed to be agitated by the cars that were honking their horns in celebration of the young graduates, said Gina Clayton-Tarvin, President of Ocean View School District.

"It was a really nice event, unfortunately, it kind of turned really dark," she said.

The teacher was taken to a hospital where she was treated and released for minor injuries, Bennett said.

Police have not established a motive for the shooting, Bennett said.

CNS contributed to this report.