My ex broke into my apartment

Last night, my boyfriend and I got into a huge argument. I ended up kicking him out of our apartment. He started putting holes in the walls, calling me out my name, and I felt terrified. When he left to put his first bag in his truck, I locked the door behind him. I couldn’t have him near me anymore unless someone was here to make sure he wouldn’t hurt me. He threatened to break my MacBook and my flatscreen tv knowing he doesn’t have the money to pay it back. Once I locked him out, he called the cops so they could escort him in to get the rest of his stuff. Which I was okay with, I just didn’t want him near me by himself. But after a while, he was still in the parking lot. He texted me and said he wanted his stuff. Which I replied, “you should have gotten it while the cops were here”. He got mad at called me a stupid cunt and a piece of shit and threatened to destroy my car which is NEW. I ended up falling asleep because I’m in college and it was 1am. But around 1:30am, I hear him in my apartment. He had broken in from the window. He broke the bedroom door open because I had it locked and I was terrified for my life. Even my dog was hiding under the bed. He took the AirPods (I use music to calm my anxiety on campus but now I have nothing) he gifted me a year ago, took our internet router (it’s in his name but I told him just hours before this that I will put it under my name and pay for it because he knows I need it for classes), and other items. I ended up trying to push him out the door but he ran out my back door with my stuff.. I didn’t call the cops because they were just over but I don’t know what to do at this point. I feel sympathy because I know he’s going through a lot but I feel so dumb to feel bad for him. I hate him but it’s hard. Any advice? He’s definitely not stepping foot back in this apartment.