Start off by getting a restraining order against him. Both you and your gf should be named on it so that he cannot come near you or her. If he violates that he is in deep sh*t. They also will temporarily make sure he is not allowed to have guns. Make sure you and her state the past abuse and the current threats he has made. Also buy a guy handgun for self defense in your home.