<human>: I broke up with my ex over a year ago but still remained friends with him since we were best friends before our relationship started. A big reason for the breakup was his insecurity and jealousy, leading him to delete contacts off my phone and Facebook of guys friends I'm close to.

Since then, whenever we hang out in person, things would be cool. However, every now and then he would spam message and call me pleading to get back together. I've warned him multiple times that if he did not stop, I would block him on my phone and all social media. Despite this, he would find ways to continue contacting me, whether it be through a proxy phone number or 
a different Facebook account. On numerous occasions I've confronted him about this and when the issue looked like it was going to be resolved, he goes back to his old ways. 

Just recently I noticed that I kept getting logged out of my Facebook account and that my password was changed. After recovering and securing my account, I found out that it was accessed in the city he currently resides in. Since he's done this a number of times before I am just about 100% sure he's responsible.

What should I do about this situation? He's still my close friend so I don't want to completely cut ties with him, but this situation is getting frustrating and every attempt I've made to confront him about it has been fruitless. Is there anyway I can amend this situation while still being on good terms with him?

Can you give me a shortened version of the text?
<bot>: ex hacked my Facebook/E-mail on multiple occasions despite my multiple warnings. I want him to stop but I don't want to completely cut ties with him.