A security guard working on NCIS died Wednesday after a man driving a passenger van for the production lost control and smashed onto the show's Los Angeles set.

The driver had a medical emergency while behind the wheel and veered into the 52-year-old man, according to TMZ, who first reported the incident.

Check out photos from NCIS

The guard was later transported to a nearby hospital in critical condition and died from injuries shortly later. Production on the show has been suspended.

"With profound sympathy we mourn the tragic passing of our co-worker and friend, " the show's producers, cast and crew said in a statement. "NCIS is a family. And, as with any family, we are deeply saddened by this unexpected loss. Our thoughts and prayers go out to his loved ones."

CBS Entertainment and CBS Television Studios said they are cooperating with local authorities in Santa Clarita to help determine the cause of the accident. "Everyone at the network, the studio and NCIS is devastated by the news. Our hearts grieve for his family and friends for this tragic loss," the companies said.