California shooring
Shooting in the annual food festival in California left more than 11 injured on Sunday.Twitter/waviya

Gunshots rang out at an annual food festival in California on Sunday, July 28, resulting in the death of four people including the shooter. 

A suspected gunman was shot dead by officials, Police chief Scot Smithee told a news conference late on Sunday. He entered the park by cutting open a fence around the property, he added.

The suspect had "some kind of rifle" and appeared to shoot at random, Smithee said. Officials have not identified any motive yet. It is reported that a second suspect may also be involved. A police investigation is underway. 

The shooting took place on the last day of the Gilroy Garlic Festival, an annual three-day event south of San Jose. NBC Bay reporter Marianne Favro said around 11 people were injured and two shooters were involved in the incident.

Videos circulating on social media showed attendees dispersing in confusion as loud popping sounds could be heard in the background.

"What's going on?" a woman can be heard asking on one video. "Who'd shoot up a garlic festival?"

At first, I thought the sound of gunfire was fireworks, Evenny Reyes, 13, told the San Jose Mercury News. But then she saw someone with a wounded leg.

"We were just leaving and we saw a guy with a bandana wrapped around his leg because he got shot. There was a little kid hurt on the ground. People were throwing tables and cutting fences to get out," Reyes said.

Gilroy police have condemned the shooting and advised people to search for their loved ones at the parking lot of the nearby Gavilan College. 

The annual festival, which describes itself as the world's greatest summer food festival, was held at the Christmas Hill Park. The website states weapons of any kind were prohibited.

Brian Bowe, the executive director of the Gilroy Garlic Festival, said the Gilroy community was "family reunion" for four decades

"It is such a sad, just horribly upsetting circumstance that this happened on the third and final day of the festival," Bowe said at a news conference.