I apologize for the way that turned out, but you should feel lucky that you got out when you did. As I mentioned the family is usually chosen over the girlfriend. However, do you really want to be in a relationship where you are not first in his life. I have learned from every relationship and I think that you will learn something from this.
However, I'm sorry for your pain and hope that it ends quickly. And don't listen the the math equations about getting over a break up, they aren't true.