(CNN) A lightning strike killed one person and left several injured during a Fourth of July celebration in South Carolina.

A tree was struck by lightning Thursday afternoon near Lawshe Plantation in Georgetown County, injuring people standing under it, county Fire/EMS Assistant Chief Tony Hucks said.

One man went into cardiac arrest and was taken to a nearby hospital, where he died in the emergency room, Hucks said. He was identified as Ryan Gamble, 44, of Andrews, a town in Georgetown County.

Eleven others were injured, said Amy Stevens, vice president of marketing for Tidelands Health. Three have been treated and released, and eight were admitted to the hospital.

Andrews Mayor Frank McClary was celebrating the holiday with his family when the lightning struck.

Read More