I think you made the right decision. He hasn't changed, and he won't change. He treats you this way because it works - it gives him the results he wants.
Be super careful about entering another long term relationship in the next year or three - you may not realize or sense it, but you have long been 'trained' the act and react 'appropriately' to guys of his type. We all mold ourselves to our partners to some degree - intentionally and unintentionally - to maintain our relationship.
It takes awhile to find and get rid of bad habits, reactions, responses, tactics, etc, and cultivate those that you really want to use. You've already made steps to break out of this relationship pattern, and I doubt you'll have significant trouble making progress, but if you think critically about your interactions with others you will notice yourself doing things, for instance, that are meant to marginalize yourself and lift up the person you are interacting with.
You are a perfectly capable, intelligent, awesome person. Don't ever let anyone else - most of all yourself - tell you otherwise.
I'm tired and sick, so I can only hope the above makes sense and is inoffensive.