Get a good lawyer if you can. Some BS piece of paper he coerced you to sign will be meaningless. Also like the officer said, take care of yourself. If you have the resources, I would move, change phone numbers, email addresses, and tell no one except your parents where you are.
Also, tell his PO that he is calling from jail. This is another charge and this keep him locked up longer.