Boyfriend probs

So. My boyfriend and I have been off and on since December of last year. And he is very negative, and possessive, and angry. He holds grudges for far too long and takes frustration and anger out on me. He doesn't beat me but blames me for all his problems and constantly calls me rude names. I keep trying to end it but he always threatens to hurt himself. How do I get out of this? Because I see myself changing and I can't do this anymore.