Authorities say a sheriff's deputy responding to a home invasion shot the homeowner in the neck after he refused to drop his weapon.

Sheriff's Maj. Eric Watson said in a news release that the officers encountered the armed man at the rear of the house in Hollywood, South Carolina, on Thursday after two other men fled on bicycles. Watson said the homeowner was either leaving or standing at the back door of the house.

Watson said the deputy shot the man after he ignored orders from officers to drop his weapon. He was taken to the hospital to undergo surgery. Watson didn't identify either the deputy or the homeowner, or say what weapon the homeowner had.

He said the homeowner was black and the deputies were white.