 He had a weapon and had threatened his intimate partner with it. He threatened other people with it. He's discharged it in public. He was a danger, the court decided, and so disarmed him. He brought a suit saying that the reason he should not be disarmed is because the original meaning of the Second Amendment back when it was passed in the 1700s did not include domestic violence as a reason for disarming people.