He has been handed a five-year restraining order