A North Carolina sheriff's official is apologizing for disturbing a funeral where undercover agents tried to serve an arrest warrant on the dead man's son — and used a Taser to do so.

The Star-News of Wilmington reports that the incident happened Saturday afternoon as the coffin was being loaded into a hearse. The officers planned to quietly arrest Gladwyn Taft Russ III, but it turned into a scuffle.

The 42-year-old Russ was charged with communicating threats against his ex-wife who lives in another state. Officials said he failed to turn himself in as promised.

New Hanover County sheriff's chief deputy Ed McMahon said the officers' move backfired in the emotional environment. McMahon said the officers should have waited until after the cemetery service.