I think I was raped but idk.

Yesterday I went to go break up with my partner of 5 years at their house and we spent a lot of the time arguing, begging, crying, and yelling. They wanted a hug so I relented but then they asked if I wanted to make out. I said no and I didn't think it was a good idea. They kept asking and I kept saying no and then they grabbed my head and kissed me over and over again. Then we started having sex. In the moment i thought i liked it but when it was over, I was so disgusted, ashamed and horrified when did it but didn't stop myself when I knew I didn't want to do it. Afterward they realized how shocked I was by my expression and they were about to have a panic attack but I told them it was my choice and tried to convince them it wasn't their fault. Afterward I left and I don't think we'll get back together ever.

What happened? Was I assaulted? Rape? I can't tell. My friends say it was rape but I can't tell. I wish I knew better, just feel really disgusting that it even happened.