Attempted mugging at gunpoint turns violent