A deputy working security at a gun show in South Carolina fatally shot a customer who fired on him Saturday, authorities said. The Lexington County deputy was taken into surgery and was in stable condition, the sheriff's office said in a statement.

The shooting happened at the Jamil Temple event center in Columbia, where the South Carolina Arms Collector Association was holding a gun and knife show. The sheriff's office did not release any additional information about the shooting, including the identities of those involved.

A photo provided by the sheriff's office showed authorities responding at the venue on Saturday afternoon. The investigation into the shooting is continuing, and officials have not said what led to the exchange of gunfire or whether anyone else was injured.

According to rules posted on the gun show's website, loaded weapons are banned at the event except for on-duty police officers, and all weapons must have their actions secured.

The Jamil Temple is owned by the Shriners and is frequently rented out for gun shows, jewelry expos, roller derbies and other events.