A homeowner fatally shot a man who broke into his home near Orangeburg on Sunday night, the Orangeburg County Sheriff’s Office said.

DeShawn Randolph, 21, used a shovel to break through a back window of a Kings Road home, according to a statement from Sheriff Leroy Ravenell.

The resident grabbed a firearm and shot down the hallway. Bullets hit Randolph, who died of the wounds he suffered in the 11 p.m. home invasion.

South Carolina’s so-called “castle doctrine” law allows people in a home or a vehicle to use deadly force in defending themselves against intruders.

Randolph is a felon with a history of arrests in Orangeburg County, court records show.

He was set to be on probation until March 2016 after he pleaded guilty to second-degree burglary in connection with a March 2010 arrest.

Randolph also pleaded guilty to a charge of aggravated assault of a high and aggravated nature after a January 2010 arrest.

See news happening in your neighborhood? Send us your news tips, photos and videos by email to crimenews@postandcourier.com or call (843) 937-5581.