The law provides that you are allowed to use *reasonable* force in order to protect yourself or another from crime. The fact that you were defending a woman is not an issue. What is the issue here is that beating the guy up may well be considered unreasonable force, and that is what the law will argue unless you had simply no other option. They will argue that you could have protected yourself, the woman, and your property by making him leave (if possible) and/or calling the police. Taking the law into your own hands in a violent way is not considered justified, usually.
Having said that, I'm not saying that what you did isn't what the guy deserved, just that the law is within its rights not to see it that way.
Badmouthing the magestrate will just get you banged up. Period.
When you say he started on her, I assume you mean violently. If that is the case I would say you were right to step in.
I guess the police would take a view as to whether your actions were excessive or in proportion to what was required to protect her.
Very difficult to form a point of view without knowing all the facts.
Personally my view is he got what he deserved but ..... stepping in and adding violence to an already existent violent relationship is like pouring oil on a fire.
The best course of action in this situation would have been to put the female in touch with one of the support agencies dealing with domestic violence. They are experienced and can give her vital information about restraining orders, building up her confidence, even advice about rehousing etc if she feels she is in danger.
The last thing any violently abused person needs to be near is someone who shows they can be violent too.
I'm not saying I disagree with what you did but there are much better ways to help someone.
I'm locking this because it's a legal matter and while I can see where you are coming from we won't condone violence on the forums.
Jas
XXX