Threatening and harassment by ex boyfriend

I am a doctor and I met a guy through a dating app in the year 2021 when i was in college. He was an airforce officer. We got into relationship a month later and things were good. After a few months i realised that he could only provide materialistically to the relationship and has no emotional maturity aur sensitivity. So I asked him to work on it to which he kept promising that he would and we would have occasional fights about the same. This went on for a year. And meanwhile he lost his father so i wanted to support him through that loss which mainly was the reason for me to not break up with him and give him some benefit of doubt to work on the relationship. But things between us were very toxic. And then when i couldnt take the manipulation and emotional abuse i tried to leave him and break up with him. As he didnt ever work on the issues that i brought up to him. But when i broke up with him he started following me to my hospital he would wait there everyday and he constantly contacted my friends and pressured them to make me talk to him. My friends got fed up and my social image was shattered. I tried making him understand multiple times that it isnt going to work but he wouldn't listen and emotionally manipulate me into staying with him. Everytime i tried leaving he would pressure me into stayong with him giving fake promises.and then he started asking for commitment for marriage. I wasnt ready for it as my career was still not solid. I told him i cannot fight with my family for this but once i am settled in my career i will speak to them. This promise also was made under pressure only by him . He is a Christian and i am from a brahmin family. He didnt not understand the sensitivity of it . And he then started threatening me to barge to my house and constant unwanted messages of how i left him and didnt marry him. He contacted every person possible in my circle including my sister. Which shattered me and caused health problems. And i was prearing for upsc exam and even on the day of my exam he didnt stop calling and texting. Now he is threatening me to file a case against me as i didnt marry him and caused him emotional damage (in his narrative). And every 3-4 day he calls and texts . What are my legal options. I haven't taken anything from him he gifted me a laptop by himself that was the only gift that he had given me . Apart from this there is nothing that i took . I dont want to cause more drama as i am struggling with grave diseases causes by the stress of this and am undergoing psychological treatment for the same hence i dont want to get into this mess.