LANCASTER— A judge is rejecting a Lancaster man’s claim that South Carolina’s “stand your ground” law shields him from a murder charge in a 2013 killing.

The Herald of Rock Hill reports ( prosecutors as saying a judge last week refused to declare 26-year-old Allen Massey is immune from prosecution. The law allows people to use deadly force to defend themselves while under attack.

Massey has been in custody since his arrest after the October 2013 killing Demarcus Robinson.