Similar thing happened to my friend and her dumbass ex. He called her every name under the sun, after he went creeping through her FB messages when she was asleep and found that she made out with our other friend's brother once 2 years before getting with him. It was infuriating how mentally and emotionally abusive he was to her.
If your boyfriend was like this to you OP, leave and never go back!!